/* ============================================================
   PRIMETOUCH CLEANING — COMPONENTS
   Buttons, cards, forms, badges, tables, modals, toasts
   ============================================================ */

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--trans-base);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

.btn-full { width: 100%; }

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

/* Gold / primary */
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #0A0E20;
  border-color: transparent;
  font-weight: 700;
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.btn-gold:active { transform: translateY(0); }

/* Outline variants */
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-light);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--text-muted);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold-border);
}

.btn-outline-gold:hover {
  background: var(--gold-muted);
  border-color: var(--gold);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
}

/* Danger */
.btn-danger {
  background: var(--error-bg);
  color: var(--error);
  border-color: rgba(239,68,68,0.2);
}

.btn-danger:hover {
  background: rgba(239,68,68,0.2);
}

/* Loading spinner in button */
.btn.loading .btn-text { opacity: 0; }

.btn.loading::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: btn-spin 0.65s linear infinite;
}

@keyframes btn-spin { to { transform: rotate(360deg); } }

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: border-color var(--trans-base), box-shadow var(--trans-base);
}

.card-flat {
  background: var(--bg-secondary);
  border-color: var(--border);
}

.card-hover {
  cursor: pointer;
}

.card-hover:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.card-navy {
  background: linear-gradient(135deg, #060E28 0%, #0C1840 100%);
  border-color: rgba(255,255,255,0.06);
}

.card-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--border-light);
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: var(--space-md);
  line-height: 1;
}

/* Gold border accent on left */
.card-accent {
  border-left: 3px solid var(--gold);
}

/* ── Service Card ───────────────────────────────────────────── */
.service-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
}

.service-card-body {
  flex: 1;
}

.service-card-includes {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: var(--space-lg);
}

.service-card-includes li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.service-card-includes li::before {
  content: '✓';
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  gap: var(--space-md);
  margin-top: auto;
}

.service-price {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.service-price-unit {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 2px;
}

.service-duration {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.service-price-quote {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
}

/* ── Badges ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: capitalize;
}

.badge-gold    { background: var(--gold-muted); color: var(--gold); border: 1px solid var(--gold-border); }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger  { background: var(--error-bg);   color: var(--error); }
.badge-info    { background: var(--info-bg);     color: var(--info); }
.badge-muted   { background: var(--border);      color: var(--text-muted); }

/* ── Booking Status ─────────────────────────────────────────── */
.booking-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}

.booking-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.status-confirmed    { background: var(--info-bg);    color: var(--info); }
.status-completed    { background: var(--success-bg); color: var(--success); }
.status-pending      { background: var(--warning-bg); color: var(--warning); }
.status-in_progress  { background: rgba(201,168,76,0.12); color: var(--gold); }
.status-cancelled    { background: var(--error-bg);   color: var(--error); }

/* ── Forms ──────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder { color: var(--text-muted); }

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}

.form-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A8B8D8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-error {
  font-size: 0.78rem;
  color: var(--error);
  display: block;
}

.form-actions {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

/* Input group with icon */
.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-group .form-input {
  padding-left: 44px;
}

.input-icon {
  position: absolute;
  left: 14px;
  font-size: 1rem;
  pointer-events: none;
  z-index: 1;
}

.input-suffix {
  position: absolute;
  right: 14px;
  cursor: pointer;
  font-size: 1rem;
}

.password-toggle { cursor: pointer; }

/* Checkbox */
.checkbox-custom {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.checkbox-custom input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-box {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border-light);
  border-radius: 4px;
  flex-shrink: 0;
  transition: all var(--trans-fast);
}

/* Divider text */
.divider-text {
  position: relative;
  text-align: center;
  margin: var(--space-lg) 0;
}

.divider-text::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.divider-text span {
  position: relative;
  background: var(--bg-card);
  padding: 0 var(--space-md);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── Tables ─────────────────────────────────────────────────── */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-wrapper {
  min-width: 600px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.table thead tr {
  border-bottom: 1px solid var(--border);
}

.table th {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.table td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: middle;
}

.table tbody tr:last-child td { border-bottom: none; }

.table tbody tr:hover td { background: rgba(255,255,255,0.02); }

.table .col-actions { text-align: right; white-space: nowrap; }

.table-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

/* ── KPI Cards ──────────────────────────────────────────────── */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

@media (max-width: 900px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .kpi-grid { grid-template-columns: 1fr; } }

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  transition: border-color var(--trans-base), transform var(--trans-base);
}

.kpi-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-2px);
}

.kpi-icon {
  font-size: 1.6rem;
  margin-bottom: var(--space-sm);
}

.kpi-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.kpi-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.kpi-change {
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.kpi-change.up   { color: var(--success); }
.kpi-change.down { color: var(--error); }

/* ── Activity Feed ──────────────────────────────────────────── */
.activity-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.activity-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  position: relative;
}

.activity-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 32px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.activity-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--bg-card);
  flex-shrink: 0;
  margin-top: 4px;
  box-shadow: 0 0 0 3px var(--gold-muted);
}

.activity-content { flex: 1; min-width: 0; }

.activity-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 2px;
}

.activity-time {
  font-size: 0.73rem;
  color: var(--text-muted);
}

/* ── Agent Cards ────────────────────────────────────────────── */
.agent-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.agent-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--trans-fast);
}

.agent-card:hover { border-color: var(--gold-border); }

.agent-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.agent-info { flex: 1; min-width: 0; }

.agent-name {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.agent-role {
  font-size: 0.77rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.agent-rating {
  font-size: 0.77rem;
  color: var(--gold);
  margin-top: 2px;
}

/* ── Upcoming Booking Card ──────────────────────────────────── */
.upcoming-booking {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  flex-wrap: wrap;
}

.upcoming-booking-info { flex: 1; min-width: 0; }

.upcoming-booking-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.upcoming-booking-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.upcoming-booking-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.upcoming-booking-price-col {
  text-align: right;
  flex-shrink: 0;
}

.upcoming-booking-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.upcoming-booking-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
  justify-content: flex-end;
}

/* ── Today Job Card ─────────────────────────────────────────── */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.job-card {
  background: var(--bg-secondary);
  border: 1.5px solid var(--border);
  border-left: 3px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
  flex-wrap: wrap;
  transition: border-color var(--trans-fast);
}

.job-card--active {
  border-left-color: var(--gold);
  background: rgba(201,168,76,0.04);
}

.job-card-info { flex: 1; min-width: 0; }

.job-card-client {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.job-card-service {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.88rem;
}

.job-card-address,
.job-card-time {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.job-card-note {
  font-size: 0.78rem;
  background: var(--gold-muted);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  margin-top: var(--space-sm);
  color: var(--text-secondary);
}

.job-card-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: flex-end;
  flex-shrink: 0;
}

/* ── Week Schedule ──────────────────────────────────────────── */
.week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--space-sm);
}

.week-day { text-align: center; }

.week-day-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.week-day-cell {
  height: 60px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--trans-fast);
}

.week-day-cell--has-jobs {
  background: rgba(201,168,76,0.1);
  border-color: rgba(201,168,76,0.25);
  color: var(--gold);
}

/* ── Notifications ──────────────────────────────────────────── */
.notif-btn {
  position: relative;
  font-size: 1.1rem;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--trans-fast);
}

.notif-btn:hover { background: rgba(255,255,255,0.06); }

.notif-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--bg-primary);
}

/* ── Toast notifications ────────────────────────────────────── */
.toast-container {
  position: fixed;
  top: var(--space-xl);
  right: var(--space-lg);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 360px;
  width: calc(100% - var(--space-2xl));
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem;
  color: var(--text-primary);
  animation: toast-in 0.3s ease;
  backdrop-filter: blur(12px);
}

.toast.leaving { animation: toast-out 0.25s ease forwards; }

.toast--success { border-left: 3px solid var(--success); }
.toast--error   { border-left: 3px solid var(--error); }
.toast--warning { border-left: 3px solid var(--warning); }
.toast--info    { border-left: 3px solid var(--info); }

@keyframes toast-in  { from { opacity:0; transform:translateX(20px); } to { opacity:1; transform:translateX(0); } }
@keyframes toast-out { from { opacity:1; transform:translateX(0); } to { opacity:0; transform:translateX(20px); } }

/* ── Modal ──────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  animation: fade-in 0.2s ease;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modal-in 0.25s ease;
}

@keyframes fade-in  { from { opacity:0; } to { opacity:1; } }
@keyframes modal-in { from { opacity:0; transform:scale(0.96) translateY(8px); } to { opacity:1; transform:scale(1) translateY(0); } }

/* ── Dropdown ───────────────────────────────────────────────── */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: var(--shadow-lg);
  z-index: 500;
  display: none;
  animation: dropdown-in 0.15s ease;
}

.dropdown-menu.open { display: block; }

@keyframes dropdown-in { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:translateY(0); } }

.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background var(--trans-fast), color var(--trans-fast);
}

.dropdown-item:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

/* ── Booking Steps ──────────────────────────────────────────── */
.steps {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-2xl);
  gap: 0;
}

.step {
  display: flex;
  align-items: center;
  flex: 1;
}

.step:last-child { flex: none; }

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--bg-secondary);
  border: 2px solid var(--border-light);
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all var(--trans-base);
  z-index: 1;
  position: relative;
}

.step.active .step-circle {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}

.step.completed .step-circle {
  background: var(--success-bg);
  border-color: var(--success);
  color: var(--success);
}

.step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 4px;
  transition: background var(--trans-base);
}

.step.active .step-line,
.step.completed .step-line { background: var(--gold); }

/* ── Payment Method Selector ────────────────────────────────── */
.payment-method-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.payment-method-option {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.payment-method-option:hover {
  border-color: var(--text-muted);
  background: rgba(255,255,255,0.02);
}

.payment-method-option.selected {
  border-color: var(--gold);
  background: var(--gold-muted);
}

.payment-method-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
}

.payment-method-info { flex: 1; }

.payment-method-name {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.payment-method-desc {
  font-size: 0.77rem;
  color: var(--text-muted);
}

.payment-method-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  flex-shrink: 0;
  transition: all var(--trans-fast);
}

.payment-method-option.selected .payment-method-check {
  background: var(--gold);
  border-color: var(--gold);
}

/* ── Security Badges ────────────────────────────────────────── */
.security-badges {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
}

.security-badge--ssl   { background: var(--success-bg); color: var(--success); border: 1px solid rgba(34,197,94,0.2); }
.security-badge--stripe { background: var(--info-bg);  color: #7C8EFF;         border: 1px solid rgba(99,91,255,0.2); }
.security-badge--pci   { background: var(--gold-muted); color: var(--gold-dark); border: 1px solid var(--gold-border); }

/* ── Zelle payment UI ───────────────────────────────────────── */
.zelle-card {
  border: 2px solid #6D1ED4;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.zelle-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.zelle-logo {
  width: 48px;
  height: 48px;
  background: #6D1ED4;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.zelle-info {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.zelle-info-row {
  margin-bottom: var(--space-md);
}

.zelle-info-row:last-child { margin-bottom: 0; }

.zelle-info-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.zelle-info-value {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.zelle-copy-btn {
  padding: 3px 10px;
  background: rgba(109,30,212,0.12);
  color: #9B4DFF;
  border: 1px solid rgba(109,30,212,0.25);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--trans-fast);
}

.zelle-copy-btn:hover { background: rgba(109,30,212,0.2); }

.zelle-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #9B4DFF;
}

.zelle-warning {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-lg);
}

.zelle-warning-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--warning);
  margin-bottom: 6px;
}

.zelle-warning-list {
  padding-left: var(--space-md);
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

/* ── Stars ──────────────────────────────────────────────────── */
.stars {
  color: var(--gold);
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 2px;
}

/* ── Chart ──────────────────────────────────────────────────── */
.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  gap: var(--space-md);
  flex-wrap: wrap;
}

.chart-canvas {
  height: 240px;
  width: 100%;
}

/* ── Social Login Buttons ───────────────────────────────────── */
.social-login {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/* ── Demo credentials ───────────────────────────────────────── */
.demo-credentials {
  margin-top: var(--space-xl);
}

.demo-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.demo-icon { font-size: 1.4rem; flex-shrink: 0; }

.demo-title { font-weight: 700; font-size: 0.9rem; }

.demo-subtitle { font-size: 0.78rem; color: var(--text-muted); }

.demo-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.demo-item,
.demo-password {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.demo-item code,
.demo-password code {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 2px 8px;
  font-size: 0.82rem;
  color: var(--gold);
  font-family: monospace;
}

/* ── Quick login ────────────────────────────────────────────── */
.quick-login {
  text-align: center;
  margin-top: var(--space-xl);
}

.quick-login-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.quick-login-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Avatar ─────────────────────────────────────────────────── */
.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── Team Card ──────────────────────────────────────────────── */
.team-card {
  text-align: center;
}

.team-card .avatar {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-md);
  font-size: 1.2rem;
}

/* ── Add-on items ───────────────────────────────────────────── */
.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.addon-item {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color var(--trans-fast), transform var(--trans-fast);
}

.addon-item:hover {
  border-color: var(--gold-border);
  transform: translateY(-2px);
}

.addon-item.selected {
  border-color: var(--gold);
  background: var(--gold-muted);
}

.addon-checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}

.addon-info { flex: 1; }

.addon-name {
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 2px;
}

.addon-price {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
}

/* ── Calculator Summary ─────────────────────────────────────── */
.calculator-summary {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.price-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.price-summary-row:last-child { border-bottom: none; }

.price-summary-row--total {
  font-weight: 700;
  color: var(--text-primary);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-light);
}

.price-summary-total-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

.price-summary-discount { color: var(--success); }

/* ── Service card booking selection ────────────────────────── */
.booking-service-option {
  position: relative;
  cursor: pointer;
  margin: 0;
  display: block;
}

.booking-service-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.booking-service-option .card {
  transition: border-color var(--trans-base), box-shadow var(--trans-base), transform var(--trans-base);
}

.booking-service-option input:checked + .card,
.booking-service-option .card.selected {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.booking-price-display {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
}

.booking-price-unit {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ── Contact info cards ─────────────────────────────────────── */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--gold-muted);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-info-value {
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-info-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── Social buttons ─────────────────────────────────────────── */
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: all var(--trans-fast);
  text-decoration: none;
}

.social-btn:hover {
  background: var(--gold-muted);
  border-color: var(--gold-border);
  color: var(--gold);
}
