/**
 * YouthPlug Rentals Engine – minimal plugin-specific styles.
 * Theme handles the bulk of UI; this is for dashboard status badges etc.
 */

.ypre-status {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.ypre-status--pending  { background: #fef3c7; color: #92400e; }
.ypre-status--approved { background: #d1fae5; color: #065f46; }
.ypre-status--rejected { background: #fee2e2; color: #991b1b; }

.ypre-dash-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ypre-dash-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--yp-surface, #fff);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.ypre-dash-item img {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.ypre-dash-item__body { flex: 1; min-width: 0; }
.ypre-dash-item__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.ypre-form-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}
.ypre-form-section:last-child { border-bottom: none; }
.ypre-form-section h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.ypre-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .ypre-checkbox-grid { grid-template-columns: 1fr 1fr 1fr; }
}
