/* ============================================================
   FABRIC REFRESH – Frontend Stylesheet v1.2
   Split-screen login · Full dashboard · Booking form rebuild
   ============================================================ */

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --fr-blue:    #1a3c6e;
  --fr-teal:    #0f7b8c;
  --fr-accent:  #e67e22;
  --fr-green:   #198754;
  --fr-red:     #dc3545;
  --fr-light:   #f0f6ff;
  --fr-bg:      #f5f7fa;
  --fr-border:  #dde4ef;
  --fr-text:    #1c2833;
  --fr-muted:   #6c7a8d;
  --fr-radius:  12px;
  --fr-shadow:  0 4px 24px rgba(26,60,110,.10);
  --fr-font:    'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }

/* ════════════════════════════════════════════════════════
   SPLIT-SCREEN LOGIN PAGE
════════════════════════════════════════════════════════ */
.dlms-auth-page {
  display: flex;
  min-height: 100vh;
  font-family: var(--fr-font);
  margin: -20px;  /* bleed past WP content padding */
}

.dlms-auth-left {
  flex: 0 0 50%;
  background: linear-gradient(145deg, #1a3c6e 0%, #0f7b8c 60%, #0a5c6b 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 48px;
  overflow: hidden;
  color: #fff;
}
.dlms-auth-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.dlms-auth-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  position: relative;
}
.dlms-auth-logo { font-size: 28px; }
.dlms-auth-hero { position: relative; }
.dlms-auth-hero h1 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
}
.dlms-auth-hero h1 em { font-style: normal; color: rgba(255,255,255,.75); }
.dlms-auth-hero p { font-size: 15px; opacity: .8; line-height: 1.7; max-width: 340px; margin: 0 0 28px; }
.dlms-auth-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.dlms-auth-badge {
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.2);
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.dlms-auth-right {
  flex: 1;
  background: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
}
.dlms-auth-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(26,60,110,.12);
  padding: 40px 36px;
  width: 100%;
  max-width: 420px;
}
.dlms-auth-card-head { margin-bottom: 24px; }
.dlms-auth-card-head h2 { font-size: 24px; font-weight: 800; color: var(--fr-text); margin: 0 0 6px; }
.dlms-auth-card-head p  { font-size: 14px; color: var(--fr-muted); margin: 0; }
.dlms-auth-terms { font-size: 12px; color: var(--fr-muted); text-align: center; margin: 16px 0 0; }
.dlms-auth-terms a { color: var(--fr-teal); text-decoration: none; }

/* Auth tabs inside card */
.dlms-login-tabs {
  display: flex;
  border-bottom: 2px solid var(--fr-border);
  margin-bottom: 4px;
  gap: 0;
}
.dlms-login-tab {
  flex: 1;
  padding: 10px 6px;
  font-size: 12.5px;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--fr-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all .15s;
  font-family: var(--fr-font);
}
.dlms-login-tab:hover { color: var(--fr-blue); }
.dlms-login-tab.active { color: var(--fr-blue); border-bottom-color: var(--fr-teal); }
.dlms-login-pane { padding-top: 18px; }

/* Auth loading */
.dlms-auth-loading { text-align: center; padding: 32px; color: var(--fr-muted); font-size: 14px; }

/* Auth divider */
.dlms-auth-divider { position: relative; text-align: center; color: var(--fr-muted); font-size: 12px; margin: 16px 0; }
.dlms-auth-divider::before, .dlms-auth-divider::after { content:''; position:absolute; top:50%; width:42%; height:1px; background:var(--fr-border); }
.dlms-auth-divider::before { left:0; }
.dlms-auth-divider::after  { right:0; }

/* Pass toggle */
.dlms-pass-toggle { position:absolute; right:10px; top:50%; transform:translateY(-50%); background:none; border:none; cursor:pointer; font-size:16px; padding:4px; }

/* Elementor login widget (compact, no split) */
.dlms-login-widget { max-width:420px; margin:0 auto; font-family:var(--fr-font); }
.dlms-lw-header {
  background: linear-gradient(135deg,var(--fr-blue),var(--fr-teal));
  padding: 28px 24px;
  text-align: center;
  color: #fff;
  border-radius: var(--fr-radius) var(--fr-radius) 0 0;
}
.dlms-lw-icon  { font-size: 36px; margin-bottom: 8px; }
.dlms-lw-header h3 { margin: 0 0 4px; font-size: 20px; font-weight: 700; }
.dlms-lw-header p  { margin: 0; font-size: 13px; opacity: .85; }
#dlms-login-forms:not(.dlms-login-widget #dlms-login-forms) { /* Inside auth card — no inner padding */ }
.dlms-login-widget #dlms-login-forms { background:#fff; border-radius:0 0 var(--fr-radius) var(--fr-radius); padding:20px; box-shadow:var(--fr-shadow); }

/* ════════════════════════════════════════════════════════
   FULL DASHBOARD
════════════════════════════════════════════════════════ */
.dlms-dashboard {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
  font-family: var(--fr-font);
  background: var(--fr-bg);
  /* Break out of WP content width */
  width: 100%;
  max-width: none;
  overflow: hidden;
}
.dlms-dashboard-full {
  margin: -20px -20px 0;
  overflow-x: hidden;
}

/* Sidebar */
.dlms-dash-sidebar {
  background: var(--fr-blue);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 28px 0;
  min-height: 100vh;
  position: sticky;
  top: 0;
}
.dlms-dash-avatar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  margin-bottom: 16px;
}
.dlms-dash-avatar-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex; align-items:center; justify-content:center;
  font-size: 18px; font-weight: 800;
  flex-shrink: 0;
}
.dlms-dash-user-info strong { display:block; font-size:14px; }
.dlms-dash-user-info span   { font-size:12px; opacity:.7; }

.dlms-dash-nav { display:flex; flex-direction:column; gap:4px; padding:0 12px; flex:1; }
.dlms-dash-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,.7);
  font-family: var(--fr-font);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all .15s;
  width: 100%;
}
.dlms-dash-nav-item:hover  { background: rgba(255,255,255,.1); color:#fff; }
.dlms-dash-nav-item.active { background: rgba(255,255,255,.18); color:#fff; font-weight:700; }
.dlms-nav-icon  { font-size:16px; }
.dlms-nav-badge {
  margin-left: auto;
  background: var(--fr-accent);
  color: #fff;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 700;
}
.dlms-nav-badge-grey { background: rgba(255,255,255,.25); }

.dlms-dash-sidebar-footer { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 8px; }
.dlms-btn-book-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 16px;
  background: linear-gradient(135deg, #0f7b8c 0%, #0a5f6e 100%);
  color: #fff !important;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .4px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(15,123,140,.45);
  transition: box-shadow .2s, transform .15s;
  animation: dlms-pulse-book 2.5s ease-in-out infinite;
}
.dlms-btn-book { width:100%; text-align:center; margin-bottom:8px; }
.dlms-btn-ghost {
  display:block; width:100%; text-align:center;
  background:transparent; border:none; color:rgba(255,255,255,.6);
  font-family:var(--fr-font); font-size:13px; cursor:pointer;
  padding:8px; border-radius:8px; transition:all .15s;
}
.dlms-btn-ghost:hover { color:#fff; background:rgba(255,255,255,.1); }

/* Main panel */
.dlms-dash-main { padding: 32px 36px; overflow-y: auto; }
.dlms-dash-panel { display:none; }
.dlms-dash-panel.active { display:block; }
.dlms-panel-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:24px; }
.dlms-panel-head h2 { margin:0; font-size:22px; font-weight:800; color:var(--fr-text); }

/* Stats */
.dlms-stats-row { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-bottom:28px; }
.dlms-stat-card { background:#fff; border-radius:12px; padding:18px; border:1px solid var(--fr-border); text-align:center; }
.dlms-stat-card.dlms-stat-active { border-color:var(--fr-teal); background:#eaf7f9; }
.dlms-stat-num   { font-size:26px; font-weight:800; color:var(--fr-blue); }
.dlms-stat-label { font-size:12px; color:var(--fr-muted); margin-top:2px; }

.dlms-section-title { font-size:15px; font-weight:700; color:var(--fr-blue); margin:0 0 14px; }

/* Order items */
.dlms-order-item {
  background:#fff; border:1px solid var(--fr-border); border-radius:12px;
  padding:16px 20px; margin-bottom:10px;
}
.dlms-order-item.dlms-order-active { border-left:4px solid var(--fr-teal); }
.dlms-order-top { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:8px; }
.dlms-order-num strong { font-size:14px; }
.dlms-order-date { font-size:12px; color:var(--fr-muted); margin-left:8px; }
.dlms-order-meta { display:flex; gap:16px; font-size:13px; color:var(--fr-muted); flex-wrap:wrap; margin-bottom:10px; }
.dlms-status-chip { display:inline-block; padding:4px 12px; border-radius:20px; color:#fff; font-size:12px; font-weight:600; white-space:nowrap; }
.dlms-pay-chip    { display:inline-block; padding:3px 10px; border-radius:20px; color:#fff; font-size:11px; font-weight:700; }
.dlms-badge-express { background:var(--fr-accent); color:#fff; font-size:11px; padding:2px 8px; border-radius:20px; font-weight:600; }

/* Order tracker */
.dlms-tracker { display:flex; align-items:flex-start; gap:0; overflow-x:auto; padding:8px 0 4px; }
.dlms-track-step { display:flex; flex-direction:column; align-items:center; position:relative; flex:1; min-width:60px; }
.dlms-track-dot {
  width:32px; height:32px; border-radius:50%; background:#e9ecef;
  display:flex; align-items:center; justify-content:center; font-size:14px;
  position:relative; z-index:1; transition:all .2s;
}
.dlms-track-lbl { font-size:10px; color:var(--fr-muted); margin-top:4px; text-align:center; }
.dlms-track-line {
  position:absolute; top:16px; left:50%; width:100%; height:2px;
  background:#e9ecef; z-index:0;
}
.dlms-track-step.done .dlms-track-dot  { background:var(--fr-green); }
.dlms-track-step.done .dlms-track-line { background:var(--fr-green); }
.dlms-track-step.now .dlms-track-dot   { background:var(--fr-teal); box-shadow:0 0 0 4px rgba(15,123,140,.2); }

/* Empty dash */
.dlms-empty-dash { text-align:center; padding:48px 20px; color:var(--fr-muted); }
.dlms-empty-dash .dlms-empty-icon { font-size:48px; margin-bottom:12px; }
.dlms-empty-dash h3 { font-size:18px; color:var(--fr-text); margin:0 0 8px; }
.dlms-empty-dash p  { margin:0 0 20px; }

/* Profile layout */
.dlms-profile-layout { display:grid; grid-template-columns:280px 1fr; gap:24px; }
.dlms-profile-card {
  background:#fff; border-radius:16px; border:1px solid var(--fr-border);
  padding:28px 20px; text-align:center;
}
.dlms-profile-avatar {
  width:72px; height:72px; border-radius:50%;
  background:linear-gradient(135deg,var(--fr-blue),var(--fr-teal));
  color:#fff; font-size:28px; font-weight:800;
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 16px;
}
.dlms-profile-identity h3 { margin:0 0 6px; font-size:18px; }
.dlms-profile-meta { display:block; font-size:13px; color:var(--fr-muted); margin-bottom:4px; }
.dlms-profile-stats { display:flex; justify-content:center; gap:24px; margin-top:20px; padding-top:16px; border-top:1px solid var(--fr-border); }
.dlms-ps span { display:block; font-size:20px; font-weight:800; color:var(--fr-blue); }
.dlms-ps      { font-size:12px; color:var(--fr-muted); text-align:center; }

.dlms-profile-form { background:#fff; border-radius:16px; border:1px solid var(--fr-border); padding:28px; }
.dlms-profile-form h4 { margin:0 0 20px; font-size:16px; color:var(--fr-text); }
.dlms-field-group { margin-bottom:16px; }

/* Address cards */
.dlms-addr-card {
  display:flex; align-items:flex-start; gap:14px;
  background:#fff; border:1px solid var(--fr-border); border-radius:12px;
  padding:16px 18px; margin-bottom:10px;
}
.dlms-addr-icon { font-size:22px; flex-shrink:0; margin-top:2px; }
.dlms-addr-content { flex:1; }
.dlms-addr-top { display:flex; align-items:center; gap:8px; margin-bottom:4px; }
.dlms-addr-content p { margin:0; font-size:13px; color:var(--fr-muted); }
.dlms-addr-actions { flex-shrink:0; }
.dlms-addr-btn-delete { background:none; border:none; color:var(--fr-red); font-size:13px; cursor:pointer; padding:4px 8px; border-radius:6px; transition:background .15s; }
.dlms-addr-btn-delete:hover { background:#fdf0f0; }
.dlms-default-chip { background:var(--fr-blue); color:#fff; font-size:10px; padding:2px 8px; border-radius:10px; font-weight:700; letter-spacing:.5px; }

.dlms-address-form-card { background:var(--fr-bg); border:1px solid var(--fr-border); border-radius:12px; padding:20px; margin-bottom:20px; }
.dlms-address-form-card h4 { margin:0 0 16px; }
.dlms-form-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.dlms-checkbox-row { display:flex; align-items:center; gap:8px; font-size:14px; margin-top:12px; cursor:pointer; }

/* ════════════════════════════════════════════════════════
   BOOKING FORM
════════════════════════════════════════════════════════ */
.dlms-booking-page {
  font-family: var(--fr-font);
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 0 40px;
  color: var(--fr-text);
}

.dlms-guest-banner {
  background: #cfe2ff;
  border: 1px solid #9ec5fe;
  color: #084298;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 24px;
}
.dlms-guest-banner a { color: #0a58ca; font-weight: 600; }

/* Step bar */
.dlms-step-bar {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 32px;
  padding: 0;
}
.dlms-step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fr-muted);
}
.dlms-step-circle {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--fr-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  background: #fff;
  transition: all .2s;
}
.dlms-step-item.active .dlms-step-circle { background: var(--fr-blue); border-color: var(--fr-blue); color:#fff; }
.dlms-step-item.active { color: var(--fr-blue); }
.dlms-step-item.done .dlms-step-circle { background: var(--fr-green); border-color: var(--fr-green); color:#fff; }
.dlms-step-connector {
  flex: 1;
  height: 2px;
  background: var(--fr-border);
  margin: 0 8px;
}

/* Booking two-column layout */
.dlms-booking-body { display:grid; grid-template-columns:1fr 320px; gap:24px; align-items:start; }
.dlms-booking-steps-wrap { min-width:0; }

.dlms-bstep { display:none; }
.dlms-bstep.active { display:block; }

.dlms-step-head { margin-bottom:20px; }
.dlms-step-head h2 { margin:0; font-size:20px; font-weight:800; color:var(--fr-text); }

/* Express row — at top */
.dlms-express-row {
  display:flex; align-items:center; justify-content:space-between;
  background: linear-gradient(135deg, #fff7ed, #fff3e0);
  border: 1.5px solid #f5c17a;
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 14px;
}
.dlms-express-info { display:flex; align-items:center; gap:12px; }
.dlms-express-icon { font-size:22px; }
.dlms-express-info strong { display:block; font-size:14px; color:#92400e; }
.dlms-express-info small  { font-size:12px; color:#b45309; }

/* Toggle (express) */
.dlms-toggle { position:relative; display:inline-block; width:48px; height:26px; flex-shrink:0; }
.dlms-toggle input { opacity:0; width:0; height:0; }
.dlms-toggle-track { position:absolute; inset:0; background:#ccc; border-radius:26px; cursor:pointer; transition:.2s; }
.dlms-toggle-track::before { content:''; position:absolute; width:20px; height:20px; left:3px; bottom:3px; background:#fff; border-radius:50%; transition:.2s; }
.dlms-toggle input:checked + .dlms-toggle-track { background:var(--fr-accent); }
.dlms-toggle input:checked + .dlms-toggle-track::before { transform:translateX(22px); }

/* Catalogue dropdown categories */
/* ── v2.6 Category grid — booking step 1 ─── */
.dlms-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  padding: 4px 0;
}
.dlms-cat-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 16px 10px; border: 2px solid var(--fr-border);
  border-radius: 14px; background: #fff; cursor: pointer;
  transition: border-color .15s, background .15s; text-align: center; user-select: none;
}
.dlms-cat-card:hover { border-color: var(--fr-teal); background: #f0fdfb; }
.dlms-cat-card.selected { border-color: var(--fr-teal); background: #e8f7f9; }
.dlms-cat-icon { font-size: 32px; line-height: 1; }
.dlms-cat-card-name { font-size: 13px; font-weight: 700; color: var(--fr-blue); line-height: 1.2; }
.dlms-svc-check-icon { font-size: 16px; }

/* Legacy: keep svc-item base for non-card uses */
.dlms-svc-item {
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 12px; border:1.5px solid var(--fr-border); border-radius:8px;
  font-size:13px; gap:8px; transition:border-color .15s;
}
.dlms-svc-item.selected { border-color:var(--fr-teal); background:#e8f7f9; }
.dlms-svc-left { flex:1; min-width:0; }
.dlms-svc-name  { font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.dlms-svc-hint { font-size:11px; color:var(--fr-muted); margin-top:1px; }

/* Guest capture */
.dlms-guest-capture { background:var(--fr-light); border:1px solid var(--fr-border); border-radius:12px; padding:16px 18px; margin-top:16px; }
.dlms-guest-capture h4 { margin:0 0 6px; font-size:15px; color:var(--fr-blue); }
.dlms-guest-hint { font-size:13px; color:var(--fr-muted); margin:0 0 14px; }
.dlms-guest-phone-hint { font-size:11px; color:var(--fr-muted); display:block; margin-top:4px; }

/* Address radios */
.dlms-addr-choices { margin-bottom:16px; }
.dlms-addr-radio {
  display:flex; align-items:flex-start; gap:12px;
  padding:14px 16px; border:1.5px solid var(--fr-border);
  border-radius:10px; margin-bottom:8px; cursor:pointer;
  transition:border-color .15s;
}
.dlms-addr-radio:has(input:checked) { border-color:var(--fr-teal); background:#eaf7f9; }
.dlms-addr-radio input[type=radio]  { margin-top:3px; accent-color:var(--fr-teal); flex-shrink:0; }
.dlms-addr-radio-head { display:flex; align-items:center; gap:8px; margin-bottom:4px; }
.dlms-addr-label-icon { font-size:16px; }
.dlms-addr-radio-content p { margin:0; font-size:13px; color:var(--fr-muted); }
.dlms-addr-new-radio { border-style:dashed; }

/* Date pills */
.dlms-date-section, .dlms-slot-section { margin-bottom:4px; }
.dlms-date-pills { display:flex; gap:8px; flex-wrap:nowrap; overflow-x:auto; padding:6px 0 10px; -webkit-overflow-scrolling:touch; }
.dlms-date-pill { flex-shrink:0; cursor:pointer; }
.dlms-date-pill input[type=radio] { display:none; }
.dlms-date-pill-inner {
  display:flex; flex-direction:column; align-items:center;
  padding:10px 14px; border:1.5px solid var(--fr-border);
  border-radius:10px; min-width:64px; background:#fff;
  transition:all .15s;
}
.dlms-date-pill input:checked + .dlms-date-pill-inner { background:var(--fr-blue); border-color:var(--fr-blue); color:#fff; }
.dlms-date-pill:hover .dlms-date-pill-inner { border-color:var(--fr-teal); }
.dlms-date-pill-inner small { font-size:10px; color:var(--fr-muted); }
.dlms-date-pill input:checked + .dlms-date-pill-inner small { color:rgba(255,255,255,.8); }
.dlms-date-day { font-size:12px; font-weight:600; }
.dlms-date-num { font-size:22px; font-weight:800; line-height:1.1; }

/* Time slots */
.dlms-time-slots { display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:8px; margin-top:8px; }
.dlms-time-pill { display:flex; align-items:center; gap:8px; padding:11px 14px; border:1.5px solid var(--fr-border); border-radius:10px; cursor:pointer; font-size:13px; font-weight:500; transition:all .15s; background:#fff; }
.dlms-time-pill input { display:none; }
.dlms-time-icon { font-size:16px; }
.dlms-time-pill:has(input:checked) { border-color:var(--fr-teal); background:#eaf7f9; color:var(--fr-teal); font-weight:700; }
.dlms-time-pill:hover { border-color:var(--fr-teal); }

.dlms-delivery-note { background:#fff7ed; border:1px solid #f5c17a; border-radius:8px; padding:10px 14px; font-size:13px; color:#92400e; margin-top:16px; }

/* Step navigation */
.dlms-step-nav { display:flex; gap:10px; margin-top:24px; padding-top:20px; border-top:1px solid var(--fr-border); }

/* Right sidebar order summary */
.dlms-order-sidebar { position:sticky; top:24px; }
.dlms-order-summary {
  background:#fff; border:1px solid var(--fr-border); border-radius:16px; overflow:hidden;
}
.dlms-order-summary h3 { margin:0; padding:16px 20px; font-size:15px; background:var(--fr-light); border-bottom:1px solid var(--fr-border); color:var(--fr-blue); }
.dlms-cart-items { padding:12px 20px; max-height:260px; overflow-y:auto; }
.dlms-cart-item-row { display:flex; justify-content:space-between; font-size:13px; padding:5px 0; border-bottom:1px solid #f0f0f0; }
.dlms-cart-item-row:last-child { border:none; }
.dlms-cart-footer { padding:12px 20px; border-top:1px solid var(--fr-border); background:var(--fr-light); }
/* Cart & review category grouping (v2.1.9) */
.dlms-cart-cat-header { display:flex; justify-content:space-between; align-items:center; padding:6px 0 3px; margin-top:6px; font-size:12px; font-weight:700; color:var(--fr-blue); border-bottom:1px solid #dce8f5; }
.dlms-cart-cat-header:first-child { margin-top:0; }
.dlms-cart-sub-item { padding-left:6px !important; font-size:12px; }
.dlms-cat-badge { background:#e8f7f9; color:#0f7b8c; border-radius:10px; padding:1px 7px; font-size:11px; font-weight:600; flex-shrink:0; }
.dlms-review-cat-row { display:flex; justify-content:space-between; align-items:center; padding:7px 0 4px; margin-top:8px; font-size:13px; border-bottom:1px solid #dce8f5; }
.dlms-review-cat-row:first-of-type { margin-top:0; }
.dlms-review-item-row { padding:4px 0 4px 10px !important; font-size:13px; }
.dlms-cart-row { display:flex; justify-content:space-between; font-size:13px; padding:4px 0; color:var(--fr-muted); }
.dlms-cart-total-row { display:flex; justify-content:space-between; font-size:16px; font-weight:800; color:var(--fr-blue); padding-top:10px; margin-top:8px; border-top:2px solid var(--fr-border); }
.dlms-order-empty { opacity:.6; }

/* Review box */
.dlms-review-box { background:#fff; border:1px solid var(--fr-border); border-radius:12px; overflow:hidden; }
.dlms-review-section { padding:16px 20px; border-bottom:1px solid var(--fr-border); }
.dlms-review-section:last-child { border:none; }
.dlms-review-section h4 { margin:0 0 10px; font-size:13px; font-weight:700; color:var(--fr-muted); text-transform:uppercase; letter-spacing:.5px; }
.dlms-review-item-row { display:flex; justify-content:space-between; font-size:14px; padding:4px 0; }
.dlms-review-total { display:flex; justify-content:space-between; font-size:18px; font-weight:800; color:var(--fr-blue); padding:16px 20px; background:var(--fr-light); border-top:2px solid var(--fr-border); }

/* Success screen */
.dlms-success-screen { text-align:center; padding:48px 20px; background:#fff; border-radius:16px; border:1px solid var(--fr-border); }
.dlms-success-anim { font-size:60px; margin-bottom:12px; animation:fr-bounce .6s; }
.dlms-success-screen h3 { font-size:24px; color:var(--fr-green); margin:0 0 8px; }
.dlms-success-screen p  { font-size:15px; color:var(--fr-muted); }
.dlms-success-actions { display:flex; gap:10px; justify-content:center; margin-top:24px; flex-wrap:wrap; }
@keyframes fr-bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-16px)} }

/* ════════════════════════════════════════════════════════
   SHARED / UTILITIES
════════════════════════════════════════════════════════ */
.dlms-portal-wrap { max-width:760px; margin:0 auto; padding:24px 16px 48px; font-family:var(--fr-font); color:var(--fr-text); }
.dlms-tracking-page .dlms-track-search { display:flex; gap:10px; margin-bottom:24px; flex-wrap:wrap; }
.dlms-tracking-page .dlms-input { flex:1; min-width:200px; }

/* Buttons */
.dlms-btn {
  display:inline-flex; align-items:center; justify-content:center;
  padding:11px 22px; border-radius:8px; font-family:var(--fr-font);
  font-size:14px; font-weight:600; cursor:pointer;
  border:2px solid transparent; text-decoration:none;
  transition:all .15s; line-height:1; white-space:nowrap;
}
.dlms-btn-primary { background:var(--fr-blue); color:#fff; border-color:var(--fr-blue); }
.dlms-btn-primary:hover { background:#142e56; border-color:#142e56; color:#fff; }
.dlms-btn-outline  { background:transparent; color:var(--fr-blue); border-color:var(--fr-blue); }
.dlms-btn-outline:hover { background:var(--fr-blue); color:#fff; }
.dlms-btn-ghost-light { background:transparent; border:2px solid rgba(255,255,255,.4); color:#fff; }
.dlms-btn-ghost-light:hover { background:rgba(255,255,255,.15); }
.dlms-btn-link     { background:transparent; color:var(--fr-muted); border-color:transparent; padding:11px 10px; }
.dlms-btn-link:hover { color:var(--fr-blue); }
.dlms-btn-sm       { padding:6px 14px; font-size:12px; }
.dlms-full-btn     { width:100%; margin-top:12px; }

/* Form elements */
.dlms-input, .dlms-select, .dlms-textarea {
  width:100%; padding:11px 14px; border:1.5px solid var(--fr-border);
  border-radius:8px; font-size:14px; font-family:var(--fr-font);
  color:var(--fr-text); background:#fff; transition:border .15s; box-sizing:border-box;
}
.dlms-input:focus, .dlms-select:focus, .dlms-textarea:focus {
  outline:none; border-color:var(--fr-teal); box-shadow:0 0 0 3px rgba(15,123,140,.12);
}
.dlms-label { display:block; font-size:12px; font-weight:700; color:var(--fr-muted); margin-bottom:5px; text-transform:uppercase; letter-spacing:.5px; }
.dlms-hint  { font-size:12px; color:var(--fr-muted); margin-top:8px; }
.dlms-phone-row { display:flex; gap:8px; margin-bottom:16px; }
.dlms-country-code { background:var(--fr-light); border:1.5px solid var(--fr-border); padding:11px 12px; border-radius:8px; font-size:14px; white-space:nowrap; }
.dlms-otp-input { font-size:24px; letter-spacing:10px; text-align:center; }
.dlms-otp-sent-msg { color:var(--fr-green); font-weight:600; margin-bottom:12px; font-size:14px; }

/* Messages */
.dlms-msg { padding:12px 16px; border-radius:8px; margin-top:14px; font-size:14px; font-weight:500; }
.dlms-msg-success { background:#d1e7dd; color:#0a3622; border:1px solid #a3cfbb; }
.dlms-msg-error   { background:#f8d7da; color:#58151c; border:1px solid #f1aeb5; }
.dlms-loading-dots { text-align:center; padding:32px; color:var(--fr-muted); font-style:italic; }
.dlms-notice { padding:12px 16px; border-radius:8px; margin-bottom:16px; font-size:14px; }
.dlms-notice-info { background:#cfe2ff; border:1px solid #9ec5fe; color:#084298; }

/* ════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════ */
@media(max-width:900px){
  /* ── Login page ── */
  .dlms-auth-page  { flex-direction:column; }
  .dlms-auth-left  { flex:0 0 auto; min-height:200px; padding:24px 20px; }
  .dlms-auth-hero h1 { font-size:24px; }
  .dlms-auth-right { padding:20px 14px; }

  /* ── Dashboard: 1-column, sidebar becomes compact top header ── */
  .dlms-dashboard {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  /* Remove negative top margin on mobile so sidebar isn't hidden under WP header */
  .dlms-dashboard-full { margin: 0 -16px 0; }

  /* Sidebar: compact strip, no full-height, no sticky */
  .dlms-dash-sidebar {
    min-height: auto;
    height: auto;
    position: static;
    padding: 14px 16px 12px;
    overflow-x: hidden;
    box-sizing: border-box;
    width: 100%;
    flex-direction: column;
    gap: 0;
  }

  /* Avatar row */
  .dlms-dash-avatar {
    padding: 0 0 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  /* Nav: horizontal scrollable pill row, does NOT grow */
  .dlms-dash-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 0;
    gap: 6px;
    margin-bottom: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex: 0 0 auto;
  }
  .dlms-dash-nav::-webkit-scrollbar { display:none; }
  .dlms-dash-nav-item {
    white-space: nowrap;
    flex-shrink: 0;
    width: auto;
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 20px;
    background: rgba(255,255,255,.12);
  }
  .dlms-dash-nav-item.active { background: rgba(255,255,255,.28); }
  /* Book a Pickup nav pill — HIDDEN on mobile (sidebar footer button used instead) */
  .dlms-dash-nav-book-btn {
    display: none !important;
  }

  /* Sidebar footer: Book a Pickup (full-width) + Logout stacked */
  .dlms-dash-sidebar-footer {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 8px 0 0;
    border: none;
    flex: 0 0 auto;
    width: 100%;
    box-sizing: border-box;
  }
  .dlms-btn-book-cta {
    width: 100% !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    animation: none !important;
    box-sizing: border-box;
  }
  #dlms-do-logout {
    width: 100% !important;
    white-space: nowrap;
    padding: 9px 14px !important;
    font-size: 12px !important;
    text-align: center;
    box-sizing: border-box;
  }

  /* Dashboard main content area — generous breathing room */
  .dlms-dash-main      { padding: 24px 16px 40px; }
  .dlms-profile-layout { grid-template-columns: 1fr; }
  .dlms-booking-body   { grid-template-columns: 1fr; }
  .dlms-order-sidebar  { display: none; }
  .dlms-stats-row      { grid-template-columns: 1fr 1fr; }

  /* Booking page — top padding so step bar doesn't hug the header */
  .dlms-booking-page   { padding: 20px 16px 60px; }

  /* Tracking page */
  .dlms-tracking-page  { padding: 20px 16px 60px; }
  .dlms-portal-wrap    { padding: 20px 16px 60px; }
}

@media(max-width:600px){
  .dlms-step-bar   { gap:0; margin-bottom:20px; }
  .dlms-step-item span { display:none; }
  .dlms-cat-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .dlms-form-grid-2    { grid-template-columns:1fr; }
  .dlms-time-slots     { grid-template-columns:1fr 1fr; }
  .dlms-date-pills     { gap:6px; }
  .dlms-auth-badges    { display:none; }
  .dlms-auth-card      { padding:24px 16px; }
  .dlms-stats-row      { grid-template-columns:repeat(3,1fr); }
  .dlms-stat-num       { font-size:20px; }
  .dlms-dashboard-full { margin: 0 -12px 0; }
  .dlms-dash-main      { padding: 20px 14px 48px; }
  .dlms-dash-sidebar   { padding: 12px 14px 10px; }

  /* Booking form steps — more vertical space between each section */
  .dlms-step-section   { padding: 20px 0; }
  .dlms-booking-page   { padding: 16px 14px 56px; }

  /* Tracking page */
  .dlms-tracking-page  { padding: 16px 14px 56px; }
  .dlms-portal-wrap    { padding: 16px 14px 56px; }

  /* Order cards in dashboard — add breathing room */
  .dlms-order-card     { margin-bottom: 12px; padding: 14px 14px; }

  /* Form inputs on mobile — taller touch targets */
  .dlms-input, .dlms-select, .dlms-textarea {
    padding: 13px 14px;
    font-size: 15px;
  }

  /* Buttons on mobile — full comfortable tap area */
  .dlms-btn { padding: 13px 20px; font-size: 15px; }
  .dlms-btn-next, .dlms-btn-place { width: 100%; justify-content: center; margin-top: 8px; }
}

/* ── Centered Login (DLMS default, no split-screen) ────────── */
.dlms-auth-center-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 60vh;
  padding: 40px 16px;
  background: var(--fr-bg);
}
.dlms-auth-center-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(26,60,110,.12);
  padding: 40px 36px 32px;
  width: 100%;
  max-width: 440px;
}
.dlms-auth-center-logo {
  font-size: 42px;
  text-align: center;
  margin-bottom: 8px;
}
.dlms-auth-center-card .dlms-auth-card-head {
  text-align: center;
  margin-bottom: 20px;
}
.dlms-auth-center-card .dlms-auth-card-head h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--fr-blue);
  margin: 0 0 6px;
}
.dlms-auth-center-card .dlms-auth-card-head p {
  color: var(--fr-muted);
  font-size: 14px;
  margin: 0;
}
/* Override: split-screen should not override page layout */
.dlms-auth-page {
  position: relative;
  min-height: auto;
}

/* ── Profile field hints ──────────────────────────────────────── */
.dlms-field-hint {
  display: block;
  color: var(--fr-muted);
  font-size: 12px;
  margin-top: 4px;
  line-height: 1.5;
}

/* ── Dashboard: Book Pickup button more prominent ─────────────── */
.dlms-btn-book {
  background: #fff !important;
  color: var(--fr-blue) !important;
  border: 2px solid #fff !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 10px 16px !important;
  border-radius: 10px !important;
  text-align: center;
  display: block;
  width: 100%;
  margin-bottom: 8px;
  transition: background .2s, color .2s;
}
.dlms-btn-book:hover {
  background: var(--fr-teal) !important;
  color: #fff !important;
  border-color: var(--fr-teal) !important;
}

/* ── Dashboard logout button ──────────────────────────────────── */
#dlms-do-logout {
  color: rgba(255,255,255,.7) !important;
  background: transparent !important;
  border: 1px solid rgba(255,255,255,.25) !important;
  width: 100%;
  text-align: center;
  font-size: 13px;
  padding: 8px !important;
  border-radius: 8px !important;
}
#dlms-do-logout:hover {
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
}

/* ── Dashboard: "Book a Pickup" CTA in empty orders panel ─────── */
.dlms-empty-dash .dlms-btn-primary {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(26,60,110,.18);
}

/* ── Profile phone row inside dashboard ───────────────────────── */
.dlms-profile-form .dlms-phone-row {
  margin-bottom: 4px;
}
.dlms-profile-form .dlms-phone-row .dlms-country-code {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Booking: Next button always prominent ────────────────────── */
#dlms-step1-nav .dlms-btn-primary {
  font-size: 15px;
  padding: 12px 28px;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(26,60,110,.18);
}

/* ══════════════════════════════════════════════════════════════
   v1.6 NEW STYLES
   ══════════════════════════════════════════════════════════════ */

/* ── Step 1 "Next" button: disabled state via CSS class ───────── */
#dlms-step1-next.dlms-btn-disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
  background: var(--fr-blue);
  border-color: var(--fr-blue);
}
#dlms-step1-next:not(.dlms-btn-disabled) {
  opacity: 1;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 4px 16px rgba(26,60,110,.25);
  transform: translateY(0);
  transition: box-shadow .2s, transform .15s;
}
#dlms-step1-next:not(.dlms-btn-disabled):hover {
  box-shadow: 0 6px 20px rgba(26,60,110,.32);
  transform: translateY(-1px);
}

/* ── Booking page top navigation bar ──────────────────────────── */
.dlms-booking-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0 18px;
  border-bottom: 1px solid var(--fr-border);
  margin-bottom: 20px;
}
.dlms-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fr-blue);
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid var(--fr-border);
  border-radius: 20px;
  background: #fff;
  transition: background .15s, border-color .15s;
  white-space: nowrap;
}
.dlms-back-link:hover {
  background: #f0f4ff;
  border-color: var(--fr-blue);
  color: var(--fr-blue);
  text-decoration: none;
}
.dlms-booking-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fr-muted);
  flex-wrap: wrap;
}
.dlms-bc-item {
  font-weight: 600;
  color: var(--fr-blue);
}
.dlms-bc-sep { color: var(--fr-border); }

/* ── Sidebar Book a Pickup CTA ─────────────────────────────────── */
.dlms-btn-book-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 16px;
  background: linear-gradient(135deg, #0f7b8c 0%, #0a5f6e 100%);
  color: #fff !important;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .4px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(15,123,140,.45);
  transition: box-shadow .2s, transform .15s;
  margin-bottom: 8px;
  animation: dlms-pulse-book 2.5s ease-in-out infinite;
}
@keyframes dlms-pulse-book {
  0%, 100% { box-shadow: 0 4px 18px rgba(15,123,140,.45); }
  50%       { box-shadow: 0 6px 28px rgba(15,123,140,.70); }
}
.dlms-btn-book-cta:hover {
  box-shadow: 0 8px 28px rgba(15,123,140,.65);
  transform: translateY(-2px);
  color: #fff !important;
  text-decoration: none;
  animation: none;
}

/* Invoice link in order cards */
.dlms-invoice-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #0f7b8c;
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid #0f7b8c;
  border-radius: 20px;
  transition: background .15s, color .15s;
}
.dlms-invoice-link:hover {
  background: #0f7b8c;
  color: #fff;
  text-decoration: none;
}

/* ── Order Cards (expandable) v1.9.3 ─────────────────────── */
.dlms-order-card {
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  transition: box-shadow .2s;
}
.dlms-order-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.09); }
.dlms-order-card.dlms-order-active { border-left: 4px solid #0f7b8c; }
.dlms-order-card-head { padding: 14px 16px 10px; }
.dlms-order-card-head:hover .dlms-order-chevron { color: #0f7b8c !important; }
.dlms-order-card.expanded .dlms-order-chevron { transform: rotate(180deg); }

.dlms-order-detail {
  border-top: 1px solid #f0f4f8;
}
.dlms-order-detail-inner {
  padding: 14px 16px 16px;
}
.dlms-detail-title {
  font-size: 12px;
  font-weight: 700;
  color: #6c7a8d;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0 0 10px;
}

.dlms-order-items-list {
  border: 1px solid #e8edf4;
  border-radius: 10px;
  overflow: hidden;
}
.dlms-order-item-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 9px 14px;
  font-size: 13px;
  border-bottom: 1px solid #f0f4f8;
}
.dlms-order-item-row:last-child { border-bottom: none; }
.dlms-item-name { color: #1a3c6e; font-weight: 500; }
.dlms-item-qty  { color: #6c7a8d; font-size: 12px; }
.dlms-item-price { font-weight: 700; color: #1a3c6e; text-align: right; }

.dlms-order-items-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: #f8fafc;
  border-radius: 0 0 10px 10px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #e8edf4;
  border-top: none;
  margin-bottom: 10px;
}
.dlms-order-addr,
.dlms-order-notes {
  font-size: 12px;
  color: #6c7a8d;
  padding: 6px 0;
  line-height: 1.5;
}

.dlms-btn-cancel-order {
  margin-top: 10px;
  background: transparent;
  border: 1px solid #dc3545;
  color: #dc3545;
  border-radius: 8px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.dlms-btn-cancel-order:hover {
  background: #dc3545;
  color: #fff;
}

/* ── Disabled time slot (past cutoff on today) ───────────────── */
.dlms-time-pill.dlms-slot-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.dlms-time-pill.dlms-slot-disabled input { display: none; }

/* ── Guest contact box in booking step 4 ────────────────────── */
.dlms-guest-contact-box {
  background: #f0f6ff;
  border: 1px solid #c8daf7;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 16px 0;
}

/* ══════════════════════════════════════════════════════════════
   v2.0.3 NEW STYLES
   ══════════════════════════════════════════════════════════════ */

/* ── Time slot tabs (Morning / Afternoon / Evening) ─────────── */
.dlms-slot-tabs {
  display: flex;
  gap: 0;
  background: var(--fr-bg);
  border: 1.5px solid var(--fr-border);
  border-radius: 50px;
  padding: 4px;
  width: fit-content;
  margin: 12px 0 14px;
}
.dlms-slot-tab {
  padding: 8px 20px;
  border: none;
  border-radius: 50px;
  font-family: var(--fr-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--fr-muted);
  cursor: pointer;
  background: transparent;
  transition: all .15s;
  white-space: nowrap;
}
.dlms-slot-tab.active {
  background: var(--fr-blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(26,60,110,.2);
}
.dlms-slot-tab:hover:not(.active) {
  background: rgba(26,60,110,.06);
  color: var(--fr-blue);
}
.dlms-slot-group { display: none; }
.dlms-slot-group.active { display: block; }

/* ── Time pill grid (individual time buttons) ────────────────── */
.dlms-time-pills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 0 8px;
}
.dlms-time-pill-v2 {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dlms-time-pill-v2 input { display: none; }
.dlms-pill-time {
  display: inline-block;
  padding: 9px 18px;
  border: 1.5px solid var(--fr-border);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fr-text);
  background: #fff;
  transition: all .15s;
  min-width: 90px;
  text-align: center;
}
.dlms-time-pill-v2:hover .dlms-pill-time {
  border-color: var(--fr-teal);
  color: var(--fr-teal);
}
.dlms-time-pill-v2:has(input:checked) .dlms-pill-time {
  background: var(--fr-blue);
  border-color: var(--fr-blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(26,60,110,.25);
}
.dlms-time-pill-v2.dlms-slot-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Payment method selection ────────────────────────────────── */
.dlms-payment-section {
  margin-top: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--fr-border);
}
.dlms-payment-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.dlms-payment-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1.5px solid var(--fr-border);
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all .15s;
  background: #fff;
  flex: 1;
  min-width: 120px;
}
.dlms-payment-pill input { display: none; }
.dlms-payment-pill:has(input:checked) {
  border-color: var(--fr-teal);
  background: #eaf7f9;
  color: var(--fr-teal);
}
.dlms-payment-pill:hover { border-color: var(--fr-teal); }
.dlms-pill-icon { font-size: 18px; }
.dlms-pill-label { flex: 1; }

/* ════════════════════════════════════════════════════════
   MOBILE DISCOUNT COUPON (inline in Step 4 — desktop hidden)
════════════════════════════════════════════════════════ */
.dlms-coupon-mobile-block {
  display: none; /* hidden on desktop — sidebar shows it */
  background: #f8fbff;
  border: 1.5px dashed var(--fr-border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
}
.dlms-coupon-toggle-btn {
  background: none;
  border: none;
  color: var(--fr-teal);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  width: 100%;
  text-align: left;
  font-family: var(--fr-font);
}
@media(max-width:900px){
  .dlms-coupon-mobile-block { display: block; }
}

/* ════════════════════════════════════════════════════════
   DISCOUNT ADMIN PAGE — Beautified
════════════════════════════════════════════════════════ */
.dlms-disc-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  transition: box-shadow .15s, border-color .15s;
  position: relative;
  overflow: hidden;
}
.dlms-disc-card:hover { box-shadow: 0 4px 18px rgba(26,60,110,.1); border-color: #c9d8ec; }
.dlms-disc-card.inactive { opacity: .7; }
.dlms-disc-card-code {
  font-family: monospace;
  font-size: 18px;
  font-weight: 800;
  color: #1a3c6e;
  background: #eef3ff;
  display: inline-block;
  padding: 4px 14px;
  border-radius: 8px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.dlms-disc-badge-active  { background:#d1fae5; color:#065f46; border:1px solid #6ee7b7; font-size:11px; padding:2px 10px; border-radius:20px; font-weight:700; }
.dlms-disc-badge-inactive{ background:#f3f4f6; color:#6b7280; border:1px solid #d1d5db; font-size:11px; padding:2px 10px; border-radius:20px; font-weight:700; }
.dlms-disc-toggle-row { display:flex; align-items:center; gap:10px; margin-top:10px; padding-top:10px; border-top:1px solid #f0f0f0; }
.dlms-disc-toggle-switch {
  position:relative; display:inline-block; width:44px; height:24px; cursor:pointer; flex-shrink:0;
}
.dlms-disc-toggle-switch input { opacity:0; width:0; height:0; position:absolute; }
.dlms-disc-toggle-track {
  position:absolute; inset:0; border-radius:24px; background:#ccc; transition:background .2s;
}
.dlms-disc-toggle-switch input:checked + .dlms-disc-toggle-track { background:#198754; }
.dlms-disc-toggle-thumb {
  position:absolute; top:3px; left:3px; width:18px; height:18px;
  border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.25);
  transition:transform .2s;
}
.dlms-disc-toggle-switch input:checked ~ .dlms-disc-toggle-thumb { transform:translateX(20px); }

/* Admin time slot toggles — improved contrast */
.dlms-slot-label {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all .15s;
  border: 2px solid #e2e8f0;
  background: #fafafa;
  user-select: none;
}
.dlms-slot-label.slot-on  { background:#f0faf4; border-color:#198754; }
.dlms-slot-label.slot-off { background:#fafafa; border-color:#e2e8f0; }
.dlms-slot-label.slot-on  span { font-weight:600; color:#1a3c6e; }
.dlms-slot-label.slot-off span { font-weight:400; color:#9ca3af; }

/* ── v2.3.0: Checkbox-based Service Selection ── */
.dlms-svc-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 2px solid var(--fr-border, #e2e8f0);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  background: #fff;
  margin-bottom: 8px;
  user-select: none;
}
.dlms-svc-check:hover { border-color: var(--fr-teal, #0f7b8c); background: #f8fdff; }
.dlms-svc-check.selected { border-color: var(--fr-teal, #0f7b8c); background: #e8f7f9; }
.dlms-svc-hint { font-size: 12px; color: #aaa; margin-top: 2px; }
.dlms-svc-check-icon { font-size: 18px; flex-shrink: 0; }
.dlms-step-hint { font-size: 13px; color: #6c7a8d; margin: 4px 0 0; }

/* GPS button hint */
#dlms-gps-btn { transition: all .15s; }
#dlms-gps-msg { margin-top: 8px; }

/* ── v2.5.0: Compact Review Box ─────────────────────────── */
.dlms-rv-box {
  background: #fff; border: 1px solid var(--fr-border); border-radius: 12px;
  overflow: hidden; font-size: 13px;
}
.dlms-rv-section {
  padding: 10px 14px; border-bottom: 1px solid var(--fr-border);
}
.dlms-rv-section:last-child { border-bottom: none; }
.dlms-rv-section-hd {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--fr-muted);
  text-transform: uppercase; letter-spacing: .4px; margin-bottom: 6px;
}
.dlms-rv-hd-icon { font-size: 14px; }
.dlms-rv-cat     { margin-bottom: 4px; }
.dlms-rv-cat-label {
  font-size: 12px; font-weight: 600; color: var(--fr-blue);
  display: flex; align-items: center; gap: 5px; margin-bottom: 2px;
}
.dlms-rv-cnt {
  background: var(--fr-teal); color: #fff; font-size: 10px; font-weight: 700;
  border-radius: 20px; padding: 1px 6px; margin-left: 3px;
}
.dlms-rv-item   { display: flex; align-items: center; gap: 6px; padding: 2px 0; color: var(--fr-blue); }
.dlms-rv-dot    { color: var(--fr-teal); font-size: 12px; }
.dlms-rv-val    { font-size: 13px; color: var(--fr-blue); line-height: 1.4; }
.dlms-rv-val.muted { color: var(--fr-muted); }
.dlms-rv-gps    { background: #e8f7f9; color: var(--fr-teal); font-size: 10px; font-weight: 600; border-radius: 5px; padding: 1px 5px; vertical-align: middle; }
.dlms-rv-note   { font-size: 11px; color: var(--fr-muted); background: #f8f9ff; border-radius: 6px; padding: 5px 8px; margin-top: 6px; }

/* ── GPS button highlight pulse ────────────────────────── */
@keyframes dlms-gps-pulse {
  0%,100% { box-shadow: 0 2px 8px rgba(15,123,140,.25); }
  50%      { box-shadow: 0 4px 16px rgba(15,123,140,.5); }
}

/* ── Orders Pagination (v2.9.0) ─────────────────────────────── */
.dlms-orders-pagination { margin-top: 12px; }
.dlms-page-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 34px; padding: 0 10px;
  font-size: 13px; font-weight: 600; border-radius: 8px; text-decoration: none;
  border: 1.5px solid var(--fr-border); color: var(--fr-blue); background: #fff;
  transition: all .15s;
}
.dlms-page-btn:hover { background: var(--fr-bg); border-color: var(--fr-blue); }
.dlms-page-btn.active { background: var(--fr-blue); color: #fff; border-color: var(--fr-blue); }

/* ── Address edit/delete button row ─────────────────────── */
.dlms-addr-actions { display: flex; gap: 6px; margin-top: 8px; }

/* ── v2.9.3: Book a Pickup in sidebar nav ── */
.dlms-dash-nav-book-btn {
  display: block;
  margin: 10px 20px 4px;
  padding: 11px 16px;
  background: linear-gradient(135deg, #0f7b8c 0%, #0a5f6e 100%);
  color: #fff !important;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  transition: background .15s, box-shadow .15s;
  box-shadow: 0 3px 12px rgba(15,123,140,.35);
  letter-spacing: .3px;
}
.dlms-dash-nav-book-btn:hover { background: linear-gradient(135deg, #0e6b7a 0%, #094e5a 100%); color:#fff !important; box-shadow: 0 5px 18px rgba(15,123,140,.50); }

/* ── v2.1.0: Google Login Button ────────────────────────── */
.dlms-google-btn-wrap { margin-bottom: 4px; }
.dlms-google-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 12px 20px;
  background: #fff; border: 1.5px solid #dadce0;
  border-radius: 10px; font-size: 15px; font-weight: 600;
  color: #3c4043; cursor: pointer;
  transition: background .15s, box-shadow .15s;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.dlms-google-btn:hover:not(:disabled) { background: #f8f9fa; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.dlms-google-btn:disabled { opacity: .7; cursor: default; }
.dlms-auth-divider {
  display: flex; align-items: center;
  margin: 16px 0; color: #9aa0ab; font-size: 13px;
}
.dlms-auth-divider::before,.dlms-auth-divider::after { content:''; flex:1; height:1px; background:#dde4ef; }
.dlms-auth-divider span { padding: 0 12px; }
@keyframes dlms-spin { to { transform: rotate(360deg); } }


/* v3.4.2 — compact account logout in the profile header; one booking CTA only */
.dlms-customer-logout-top{margin-left:auto;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:4px;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.08);color:#fff!important;border-radius:999px;padding:6px 9px;font-size:12px;line-height:1;cursor:pointer;min-width:0}
.dlms-customer-logout-top span{font-size:15px;font-weight:800}
.dlms-customer-logout-top small{font-size:11px;font-weight:700}
.dlms-customer-logout-top:hover{background:rgba(255,255,255,.2)}
.dlms-dash-sidebar-footer #dlms-do-logout{display:none!important}
@media(max-width:900px){.dlms-customer-logout-top{align-self:flex-start;margin-left:auto;padding:6px 8px}.dlms-customer-logout-top small{font-size:10px}.dlms-dash-avatar{gap:9px}.dlms-dash-avatar .dlms-dash-user-info{min-width:0;flex:1}.dlms-dash-avatar .dlms-dash-user-info strong{overflow-wrap:anywhere}}
@media(min-width:901px){.dlms-customer-logout-top{position:absolute;top:12px;right:12px}.dlms-dash-sidebar{position:sticky}.dlms-dash-avatar{padding-right:58px;position:relative;align-items:flex-start}.dlms-dash-avatar-icon{flex-shrink:0}.dlms-dash-avatar .dlms-customer-logout-top{position:absolute;top:0;right:8px}}


/* v3.4.3 mobile account header fix: prevent theme rules from shrinking the name to one character per line. */
@media(max-width:900px){
  #dlms-dashboard .dlms-dash-avatar{display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:nowrap!important;gap:10px!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;position:relative!important;}
  #dlms-dashboard .dlms-dash-avatar-icon{flex:0 0 44px!important;width:44px!important;min-width:44px!important;}
  #dlms-dashboard .dlms-dash-avatar .dlms-dash-user-info{display:block!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;max-width:none!important;overflow:hidden!important;}
  #dlms-dashboard .dlms-dash-user-info strong{display:block!important;width:auto!important;max-width:100%!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;line-height:1.3!important;}
  #dlms-dashboard .dlms-dash-user-info span{display:block!important;max-width:100%!important;overflow-wrap:anywhere!important;word-break:normal!important;}
  #dlms-dashboard #dlms-do-logout.dlms-customer-logout-top{position:static!important;align-self:center!important;display:inline-flex!important;flex:0 0 auto!important;width:auto!important;max-width:92px!important;min-width:0!important;margin:0 0 0 auto!important;padding:6px 8px!important;white-space:nowrap!important;text-align:center!important;}
  #dlms-dashboard #dlms-do-logout.dlms-customer-logout-top small{display:inline!important;font-size:10px!important;}
}


/* v3.4.3: isolate the customer account header from theme grid/flex overrides on mobile. */
@media(max-width:900px){
  #dlms-dashboard .dlms-dash-sidebar .dlms-dash-avatar{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto!important;grid-template-rows:auto!important;align-items:center!important;column-gap:10px!important;row-gap:0!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;position:relative!important;flex:none!important;overflow:visible!important;}
  #dlms-dashboard .dlms-dash-sidebar .dlms-dash-avatar-icon{grid-column:1!important;grid-row:1!important;width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;flex:none!important;}
  #dlms-dashboard .dlms-dash-sidebar .dlms-dash-user-info{grid-column:2!important;grid-row:1!important;display:block!important;width:100%!important;min-width:0!important;max-width:none!important;flex:none!important;overflow:visible!important;writing-mode:horizontal-tb!important;transform:none!important;}
  #dlms-dashboard .dlms-dash-sidebar .dlms-dash-user-info strong{display:block!important;width:100%!important;max-width:none!important;font-size:15px!important;line-height:1.35!important;letter-spacing:normal!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;writing-mode:horizontal-tb!important;}
  #dlms-dashboard .dlms-dash-sidebar .dlms-dash-user-info span{display:block!important;width:100%!important;max-width:none!important;font-size:12px!important;line-height:1.4!important;word-break:normal!important;overflow-wrap:anywhere!important;writing-mode:horizontal-tb!important;}
  #dlms-dashboard .dlms-dash-sidebar #dlms-do-logout.dlms-customer-logout-top{grid-column:3!important;grid-row:1!important;position:static!important;display:inline-flex!important;align-self:center!important;width:auto!important;min-width:0!important;max-width:78px!important;margin:0!important;padding:6px 7px!important;font-size:11px!important;white-space:nowrap!important;}
}


/* v3.4.3: hard reset for themes that apply vertical writing / character wrapping to dashboard widgets. */
@media (max-width: 900px) {
  #dlms-dashboard .dlms-dash-sidebar .dlms-dash-avatar {
    display:block!important; position:relative!important; width:100%!important; min-width:0!important;
    max-width:100%!important; height:auto!important; min-height:56px!important; box-sizing:border-box!important;
    padding:0 78px 12px 54px!important; margin:0 0 12px!important; overflow:visible!important;
    writing-mode:horizontal-tb!important; text-orientation:mixed!important;
  }
  #dlms-dashboard .dlms-dash-sidebar .dlms-dash-avatar * {
    writing-mode:horizontal-tb!important; text-orientation:mixed!important; letter-spacing:normal!important;
    word-spacing:normal!important; text-transform:none!important; transform:none!important;
  }
  #dlms-dashboard .dlms-dash-sidebar .dlms-dash-avatar-icon {
    position:absolute!important; left:0!important; top:0!important; margin:0!important;
    width:44px!important; height:44px!important; min-width:44px!important; max-width:44px!important;
  }
  #dlms-dashboard .dlms-dash-sidebar .dlms-dash-user-info {
    display:block!important; width:100%!important; min-width:0!important; max-width:100%!important;
    margin:0!important; padding:0!important; overflow:visible!important; text-align:left!important;
  }
  #dlms-dashboard .dlms-dash-sidebar .dlms-dash-user-info strong {
    display:block!important; width:auto!important; max-width:100%!important; font-size:15px!important;
    line-height:1.35!important; white-space:normal!important; word-break:normal!important;
    overflow-wrap:break-word!important; text-align:left!important;
  }
  #dlms-dashboard .dlms-dash-sidebar .dlms-dash-user-info span {
    display:block!important; width:auto!important; max-width:100%!important; margin-top:3px!important;
    font-size:12px!important; line-height:1.4!important; white-space:normal!important;
    overflow-wrap:anywhere!important; text-align:left!important;
  }
  #dlms-dashboard .dlms-dash-sidebar #dlms-do-logout.dlms-customer-logout-top {
    position:absolute!important; top:0!important; right:0!important; left:auto!important; bottom:auto!important;
    display:inline-flex!important; align-items:center!important; justify-content:center!important;
    width:auto!important; min-width:0!important; max-width:72px!important; margin:0!important;
    padding:6px 7px!important; font-size:11px!important; line-height:1.2!important; white-space:nowrap!important;
  }
  #dlms-dashboard .dlms-dash-sidebar #dlms-do-logout.dlms-customer-logout-top small { display:inline!important; font-size:10px!important; }
}
/* Keep the sidebar CTA as the single prominent booking action on old cached empty-state layouts. */
#dlms-dashboard .dlms-empty-dash .dlms-btn-primary { display:none!important; }


/* v3.4.3: final theme-isolation rules for mobile customer identity block. */
@media (max-width: 900px) {
  #dlms-dashboard .dlms-dash-sidebar .dlms-dash-avatar {
    display:block!important; position:relative!important; width:100%!important; min-width:0!important;
    max-width:100%!important; box-sizing:border-box!important; padding:0 78px 12px 54px!important;
    margin:0 0 12px!important; overflow:visible!important; writing-mode:horizontal-tb!important;
    text-orientation:mixed!important; height:auto!important; min-height:44px!important;
  }
  #dlms-dashboard .dlms-dash-sidebar .dlms-dash-avatar * {
    writing-mode:horizontal-tb!important; text-orientation:mixed!important; letter-spacing:normal!important;
    word-spacing:normal!important; transform:none!important;
  }
  #dlms-dashboard .dlms-dash-sidebar .dlms-dash-avatar-icon { position:absolute!important; left:0!important; top:0!important; margin:0!important; width:44px!important; height:44px!important; min-width:44px!important; }
  #dlms-dashboard .dlms-dash-sidebar .dlms-dash-user-info { display:block!important; width:100%!important; max-width:100%!important; min-width:0!important; margin:0!important; padding:0!important; overflow:visible!important; text-align:left!important; }
  #dlms-dashboard .dlms-dash-sidebar .dlms-dash-user-info strong { display:block!important; width:auto!important; font-size:15px!important; line-height:1.35!important; white-space:normal!important; word-break:normal!important; overflow-wrap:break-word!important; }
  #dlms-dashboard .dlms-dash-sidebar .dlms-dash-user-info span { display:block!important; width:auto!important; font-size:12px!important; line-height:1.4!important; white-space:normal!important; overflow-wrap:anywhere!important; }
  #dlms-dashboard .dlms-dash-sidebar #dlms-do-logout.dlms-customer-logout-top { position:absolute!important; top:0!important; right:0!important; left:auto!important; bottom:auto!important; display:inline-flex!important; align-items:center!important; justify-content:center!important; width:auto!important; max-width:72px!important; margin:0!important; padding:6px 7px!important; font-size:11px!important; white-space:nowrap!important; }
  #dlms-dashboard .dlms-dash-sidebar #dlms-do-logout.dlms-customer-logout-top small { display:inline!important; font-size:10px!important; }
}
#dlms-dashboard .dlms-empty-dash .dlms-btn-primary { display:none!important; }


/* v3.4.5: isolate customer account identity row from theme/widget width and writing-mode rules. */
#dlms-dashboard .dlms-dash-sidebar .dlms-dash-avatar { display:flex!important; flex-direction:row!important; align-items:center!important; gap:10px!important; width:100%!important; max-width:100%!important; min-width:0!important; box-sizing:border-box!important; writing-mode:horizontal-tb!important; text-orientation:mixed!important; height:auto!important; min-height:44px!important; }
#dlms-dashboard .dlms-dash-sidebar .dlms-dash-avatar-icon { flex:0 0 44px!important; width:44px!important; min-width:44px!important; max-width:44px!important; height:44px!important; }
#dlms-dashboard .dlms-dash-sidebar .dlms-dash-user-info { display:block!important; flex:1 1 0%!important; width:auto!important; min-width:0!important; max-width:100%!important; overflow:visible!important; text-align:left!important; writing-mode:horizontal-tb!important; text-orientation:mixed!important; }
#dlms-dashboard .dlms-dash-sidebar .dlms-dash-user-info * { writing-mode:horizontal-tb!important; text-orientation:mixed!important; letter-spacing:normal!important; word-spacing:normal!important; transform:none!important; }
#dlms-dashboard .dlms-dash-sidebar .dlms-dash-user-info strong { display:block!important; width:auto!important; min-width:0!important; max-width:100%!important; white-space:normal!important; word-break:normal!important; overflow-wrap:break-word!important; font-size:15px!important; line-height:1.35!important; }
#dlms-dashboard .dlms-dash-sidebar .dlms-dash-user-info span { display:block!important; width:auto!important; max-width:100%!important; white-space:normal!important; word-break:normal!important; overflow-wrap:anywhere!important; font-size:12px!important; line-height:1.4!important; }
@media(max-width:520px){ #dlms-dashboard .dlms-dash-sidebar .dlms-dash-avatar { padding:0!important; margin:0 0 12px!important; } #dlms-dashboard .dlms-dash-sidebar .dlms-dash-user-info strong { font-size:14px!important; } }


/* v3.8.1 coupon picker visibility and responsive controls. */
#dlms-booking-wrap .dlms-booking-coupon{overflow:visible!important;max-width:100%;}
#dlms-booking-wrap .dlms-booking-coupon-actions{display:flex!important;flex-wrap:wrap!important;align-items:stretch!important;gap:8px!important;width:100%!important;margin:0!important;overflow:visible!important;}
#dlms-booking-wrap .dlms-booking-coupon-actions #dlms-booking-coupon-code{flex:1 1 210px;min-width:0;box-sizing:border-box;min-height:42px;max-width:100%;}
#dlms-booking-wrap .dlms-booking-coupon-actions .dlms-coupon-action{display:inline-flex!important;visibility:visible!important;align-items:center;justify-content:center;flex:0 0 auto;min-height:42px;padding:9px 14px!important;white-space:nowrap;line-height:1.2;opacity:1!important;position:relative;z-index:1;}
#dlms-booking-wrap .dlms-booking-coupon-list-action{display:flex!important;width:100%!important;margin-top:9px!important;overflow:visible!important;}
#dlms-booking-wrap .dlms-booking-coupon-list-action #dlms-booking-coupons-open{display:inline-flex!important;visibility:visible!important;opacity:1!important;position:relative!important;z-index:2!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:100%!important;min-height:44px!important;padding:11px 14px!important;border:1px solid #b7d8e4!important;border-radius:9px!important;background:#edf8fb!important;color:#155e75!important;font-size:14px!important;font-weight:800!important;line-height:1.25!important;text-align:center!important;white-space:normal!important;box-shadow:none!important;cursor:pointer!important;}
#dlms-booking-wrap .dlms-booking-coupon-list-action #dlms-booking-coupons-open:hover{background:#dff2f7!important;color:#0f4c5c!important;border-color:#7dbbca!important;}
#dlms-booking-wrap .dlms-booking-coupon-actions .dlms-coupon-action[style*="display: none"],#dlms-booking-wrap .dlms-booking-coupon-actions #dlms-booking-coupon-remove[style*="display: none"]{display:none!important;}
.dlms-booking-coupons-modal{position:fixed;inset:0;z-index:999999;align-items:center;justify-content:center;padding:16px;box-sizing:border-box}
.dlms-booking-coupons-backdrop{position:absolute;inset:0;background:rgba(15,31,53,.62)}
.dlms-booking-coupons-dialog{position:relative;z-index:1;width:min(620px,100%);max-height:min(78vh,720px);overflow:auto;background:#fff;border-radius:16px;padding:18px;box-shadow:0 18px 60px rgba(0,0,0,.25)}
.dlms-booking-coupons-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:-18px;background:#fff;padding:8px 0 12px;border-bottom:1px solid #e5ebf3;margin-bottom:12px}
.dlms-booking-coupons-heading h3{margin:0;font-size:19px}
#dlms-booking-coupons-close{border:0;border-radius:8px;background:#edf2f7;color:#1c3d6d;font-size:24px;line-height:1;width:36px;height:36px;cursor:pointer}
.dlms-public-coupon{display:flex;width:100%;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;text-align:left;margin:8px 0;padding:13px;border:1px dashed #b9cce2;border-radius:10px;background:#f8fbff;color:#1c3d6d;cursor:pointer}
.dlms-public-coupon-main{display:flex;flex-direction:column;gap:4px;min-width:160px;flex:1}.dlms-public-coupon-value{font-weight:800;color:#15734c}.dlms-public-coupon small{width:100%;color:#66778b}
.dlms-coupon-empty{padding:16px;background:#f6f8fb;border-radius:8px;color:#58687b}
@media(max-width:600px){#dlms-booking-wrap .dlms-booking-coupon-actions{display:grid!important;grid-template-columns:1fr 1fr!important}#dlms-booking-wrap .dlms-booking-coupon-actions #dlms-booking-coupon-code{grid-column:1/-1;min-width:0;width:100%}#dlms-booking-wrap .dlms-booking-coupon-actions #dlms-booking-coupon-apply,#dlms-booking-wrap .dlms-booking-coupon-actions #dlms-booking-coupon-remove{width:100%}#dlms-booking-wrap .dlms-booking-coupon-list-action #dlms-booking-coupons-open{width:100%!important}.dlms-booking-coupons-modal{padding:8px}.dlms-booking-coupons-dialog{padding:14px;max-height:86vh}}


/* v3.9.0 — persistent success treatment for an accepted booking coupon. */
#dlms-booking-wrap .dlms-booking-coupon.is-applied{background:#eaf8ef!important;border:1px solid #42a66b!important;box-shadow:0 0 0 2px rgba(66,166,107,.08)!important;transition:background .18s ease,border-color .18s ease;}
#dlms-booking-wrap .dlms-booking-coupon.is-applied label{color:#166534!important;}
#dlms-booking-wrap .dlms-booking-coupon.is-applied #dlms-booking-coupon-code{border-color:#70bd8b!important;background:#fff!important;}
#dlms-booking-wrap .dlms-booking-coupon.is-applied #dlms-booking-coupon-status{color:#166534!important;font-weight:700;}
