/* ===== RESET ===== */ 
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0f172a;
  color: white;
  min-height: 100vh;
}

/* =========================
   DASHBOARD LAYOUT
========================= */
.dashboard {
  display: flex;
  min-height: 100vh;
}

/* =========================
   SIDEBAR
========================= */
.sidebar {
  width: 260px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(15px);
  border-right: 1px solid rgba(255,255,255,0.05);
  padding: 20px;

  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 1000;
}

/* =========================
   MAIN CONTENT
========================= */
.main-content {
  flex: 1;
  padding: 25px;
  margin-left: 260px;
  padding-top: 90px;
  padding-bottom: 80px;
}

/* =========================
   TOPBAR
========================= */
.topbar {
  position: fixed;
  top: 0;
  left: 260px;
  right: 0;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 18px 25px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* =========================
   LOGO
========================= */
.logo h2 {
  color: #fff;
  margin-bottom: 5px;
}

.logo p {
  color: #94a3b8;
  font-size: 13px;
}

/* =========================
   SIDEBAR NAV
========================= */
.sidebar nav {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar nav a {
  text-decoration: none;
  color: #cbd5e1;
  padding: 12px;
  border-radius: 10px;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar nav a:hover,
.sidebar nav a.active {
  background: rgba(59,130,246,0.2);
  color: white;
}

/* =========================
   GLASS CARD
========================= */
.glass-card,
.card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  border-radius: 24px;
  padding: 28px;
  margin-bottom: 25px;
}

/* =========================
   GRID
========================= */
.grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* =========================
   SERVICE CARD
========================= */
.service-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  transition: .3s;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow: visible;
  min-height: fit-content;
  height: auto;
  word-break: break-word;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 15px;
}

.service-card h3 {
  margin-bottom: 12px;
  color: #fff;
}

.service-card p {
  margin-bottom: 10px;
  line-height: 1.6;
  color: #cbd5e1;
  white-space: normal;
  overflow-wrap: anywhere;
}

.service-card .service-content {
  padding: 0;
}

.service-card .service-meta {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #94a3b8;
  font-size: 13px;
}

/* =========================
   FOOTER
========================= */
footer {
  position: fixed;
  bottom: 0;
  left: 260px;
  right: 0;

  text-align: center;
  padding: 15px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255,255,255,0.05);
  color: #94a3b8;
}

/* =========================================================
   GALLERY
========================================================= */

.service-gallery-preview {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
}

.service-gallery-preview img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: .35s ease;
}

.service-gallery-preview:hover img {
  transform: scale(1.05);
}

.gallery-preview-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 30px;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: 13px;
  backdrop-filter: blur(12px);
}

.thumb-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px;
  scrollbar-width: none;
}

.thumb-strip::-webkit-scrollbar {
  display: none;
}

.thumb-strip img {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: .25s;
  flex-shrink: 0;
}

.thumb-strip img:hover {
  border-color: #3b82f6;
  transform: translateY(-2px);
}

#galleryModal {
  position: fixed;
  inset: 0;
  z-index: 999999;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.94);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.gallery-box {
  width: 95%;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
}

.gallery-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#galleryImage {
  max-width: 90vw;
  max-height: 75vh;
  border-radius: 18px;
  object-fit: contain;
  transition: .25s ease;
  user-select: none;
  cursor: grab;
}

#galleryImage:active {
  cursor: grabbing;
}

.gallery-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: white;
  font-size: 20px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: .25s;
}

.gallery-close:hover {
  background: #ef4444;
}

.gallery-arrow {
  width: 55px;
  height: 55px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: white;
  font-size: 28px;
  cursor: pointer;
  transition: .25s;
  backdrop-filter: blur(10px);
}

.gallery-arrow:hover {
  background: #3b82f6;
  transform: scale(1.08);
}

.gallery-counter {
  margin-top: 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.gallery-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  transition: .25s;
}

.gallery-dot.active {
  background: #3b82f6;
  transform: scale(1.25);
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-top: 20px;
  padding-bottom: 10px;
  max-width: 95vw;
  scrollbar-width: none;
}

.gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.gallery-thumbs img {
  width: 75px;
  height: 75px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: .25s;
  flex-shrink: 0;
}

.gallery-thumbs img:hover {
  transform: translateY(-2px);
}

.gallery-thumbs img.active {
  border-color: #3b82f6;
  box-shadow: 0 0 15px rgba(59,130,246,.5);
}

.gallery-slide-left {
  animation: slideLeft .25s ease;
}

.gallery-slide-right {
  animation: slideRight .25s ease;
}

@keyframes slideLeft {
  from {
    opacity: .4;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: .4;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.gallery-fade {
  animation: galleryFade .25s ease;
}

@keyframes galleryFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.gallery-zoomed {
  transform: scale(2);
  cursor: zoom-out !important;
}

.gallery-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.gallery-controls button {
  border: none;
  padding: 10px 18px;
  border-radius: 12px;
  cursor: pointer;
  color: white;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  transition: .25s;
}

.gallery-controls button:hover {
  background: #3b82f6;
}

/* =========================
   BOOKING PAGE
========================= */

.glass-card {
  max-width: 900px;
  margin: 0 auto 25px;
}

.glass-card h2 {
  color: #fff;
  margin-bottom: 25px;
  font-size: 28px;
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: #cbd5e1;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.glass-card textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: .3s;
  backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus,
.glass-card textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,.2);
}

.form-group input::placeholder,
.glass-card textarea::placeholder {
  color: #94a3b8;
}

.form-group select option {
  background: #0f172a;
  color: #fff;
}

.glass-card textarea {
  min-height: 150px;
  resize: vertical;
}

#bookingForm {
  display: flex;
  flex-direction: column;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 18px;
}

.summary-item {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 16px;
}

.summary-item span {
  display: block;
  color: #94a3b8;
  margin-bottom: 8px;
}

.summary-item strong {
  color: #fff;
  font-size: 17px;
}

.summary-item.total {
  grid-column: 1/-1;
  background: rgba(37,99,235,.15);
  border-color: #2563eb;
}

.btn-primary {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg,#3b82f6,#2563eb);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: .3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37,99,235,.35);
}

.topbar h1 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}

.topbar p {
  margin-top: 6px;
  color: #cbd5e1;
  font-size: 15px;
}

/* =========================
   SEARCH
========================= */

#searchInput {
  width: 100%;
  padding: 16px 20px;
  border: none;
  outline: none;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 16px;
  transition: .3s ease;
}

#searchInput::placeholder {
  color: #94a3b8;
}

#searchInput:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59,130,246,.15);
}

.glass-card:has(#searchInput) {
  max-width: 900px;
  margin: 0 auto 30px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 0 18px;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
  transition: .3s;
}

.search-box:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 0 20px rgba(59,130,246,.25);
}

.search-box i {
  color: #94a3b8;
  font-size: 18px;
  flex-shrink: 0;
}

.search-box input {
  flex: 1;
  padding: 16px 0;
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 16px;
  min-width: 0;
}

.search-box input::placeholder {
  color: #94a3b8;
}

/* =========================
   BACK BUTTON
========================= */

#backBtn {
  margin-top: 15px;
  padding: 10px 18px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg,#3b82f6,#2563eb);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  transition: .3s;
}

#backBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37,99,235,.35);
}

/* =========================
   REGISTER PAGE
========================= */

.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 520px;
  background: linear-gradient(135deg,#0f172a,#1e293b,#0f172a);
}

.auth-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px;
  color: #fff;
}

.auth-left h1 {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 20px;
}

.auth-left p {
  max-width: 500px;
  font-size: 18px;
  line-height: 1.8;
  color: #cbd5e1;
}

.auth-badges {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.badge {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  padding: 15px 22px;
  border-radius: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: .3s;
}

.badge:hover {
  transform: translateY(-4px);
  background: #2563eb;
}

.auth-right {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 25px;
  padding: 45px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.auth-card h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 35px;
  font-size: 30px;
}

.auth-card input[type=text],
.auth-card input[type=email],
.auth-card input[type=password] {
  width: 100%;
  padding: 16px 18px;
  margin-bottom: 18px;
  border: none;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: .3s;
}

.auth-card input::placeholder {
  color: #cbd5e1;
}

.auth-card input:focus {
  background: rgba(255,255,255,.15);
  box-shadow: 0 0 0 3px rgba(37,99,235,.35);
}

.role-box {
  margin: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #fff;
}

.role-box label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 15px;
}

.auth-card button {
  width: 100%;
  padding: 16px;
  margin-top: 10px;
  border: none;
  border-radius: 12px;
  background: #2563eb;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: .3s;
}

.auth-card button:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.auth-text {
  margin-top: 25px;
  text-align: center;
  color: #cbd5e1;
}

.auth-text a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
}

.auth-text a:hover {
  text-decoration: underline;
}

/* =========================
   MY BOOKINGS
========================= */

#bookingsList .service-card {
  height: auto;
  min-height: 260px;
  overflow: visible;
}

#bookingsList .service-card p {
  white-space: normal;
  overflow-wrap: break-word;
  line-height: 1.7;
}

#bookingsList .service-card h3 {
  margin-bottom: 15px;
}

/* =========================
   PAYMENT RESULT
========================= */

.payment-result-card {
  text-align: center;
  padding: 45px 35px;
  max-width: 520px;
  margin: auto;
}

.payment-icon {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 34px;
}

.loading-icon {
  background: rgba(59,130,246,.12);
  color: #60a5fa;
}

.success-icon {
  background: rgba(34,197,94,.15);
  color: #22c55e;
  animation: paymentPop .5s ease;
}

.failed-icon {
  background: rgba(239,68,68,.15);
  color: #ef4444;
}

.payment-result-card h2 {
  margin-bottom: 10px;
}

.success-message {
  margin-bottom: 25px;
  opacity: .8;
}

.payment-confirmation {
  margin: 25px 0;
  padding: 5px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  text-align: left;
}

.confirmation-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

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

.confirmation-row span {
  opacity: .65;
}

.confirmation-row strong {
  word-break: break-all;
  text-align: right;
}

.redirect-message {
  font-size: 14px;
  opacity: .65;
  margin: 20px 0;
}

.redirect-message strong {
  color: #22c55e;
  font-size: 16px;
}

.payment-home-btn {
  border: none;
  padding: 13px 24px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: .2s ease;
}

.payment-home-btn:hover {
  transform: translateY(-2px);
}

.payment-progress {
  width: 100%;
  height: 4px;
  margin-top: 25px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
}

.payment-progress span {
  display: block;
  width: 40%;
  height: 100%;
  animation: paymentProgress 1.4s infinite ease-in-out;
}

@keyframes paymentProgress {
  0% { transform: translateX(-150%); }
  100% { transform: translateX(350%); }
}

@keyframes paymentPop {
  0% {
    transform: scale(.5);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* =========================================================
   SETTINGS
========================================================= */

:root {
  --bg: #080d18;
  --bg-soft: #0d1424;
  --card: rgba(17,25,42,.82);
  --card-solid: #111a2b;
  --border: rgba(255,255,255,.08);
  --border-light: rgba(255,255,255,.13);
  --text: #f8fafc;
  --muted: #94a3b8;
  --blue: #3b82f6;
  --blue-light: #60a5fa;
  --purple: #a855f7;
  --green: #22c55e;
  --orange: #f59e0b;
  --cyan: #06b6d4;
  --red: #ef4444;
  --sidebar-width: 255px;
}

.settings-page {
  max-width: 1250px;
  margin: 0 auto;
  padding: 42px 40px 70px;
}

.settings-heading {
  margin-bottom: 28px;
}

.eyebrow {
  color: var(--blue-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.7px;
}

.settings-heading h2 {
  margin-top: 8px;
  font-size: 30px;
  letter-spacing: -.8px;
}

.settings-heading p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.profile-hero {
  padding: 24px;
  margin-bottom: 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background:
    linear-gradient(
      135deg,
      rgba(59,130,246,.10),
      rgba(168,85,247,.07)
    ),
    var(--card);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0,0,0,.16);
}

.profile-large {
  display: flex;
  align-items: center;
  gap: 17px;
}

.large-avatar {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,#2563eb,#7c3aed);
  box-shadow: 0 12px 35px rgba(59,130,246,.24);
  font-size: 21px;
  font-weight: 800;
}

.account-label {
  color: var(--blue-light);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.profile-large h3 {
  margin-top: 5px;
  font-size: 20px;
}

.profile-large p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}

.account-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(34,197,94,.15);
  border-radius: 999px;
  background: rgba(34,197,94,.06);
  color: #86efac;
  font-size: 11px;
  font-weight: 700;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
}

.settings-card {
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 19px;
  background: var(--card);
  backdrop-filter: blur(18px);
  box-shadow: 0 15px 50px rgba(0,0,0,.13);
}

.settings-card:hover {
  border-color: var(--border-light);
}

.settings-card:last-child {
  grid-column: 1/-1;
}

.card-heading {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 24px;
}

.heading-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.heading-icon.blue {
  background: rgba(59,130,246,.12);
  color: #60a5fa;
}

.heading-icon.purple {
  background: rgba(168,85,247,.12);
  color: #c084fc;
}

.heading-icon.green {
  background: rgba(34,197,94,.12);
  color: #4ade80;
}

.heading-icon.orange {
  background: rgba(245,158,11,.12);
  color: #fbbf24;
}

.heading-icon.cyan {
  background: rgba(6,182,212,.12);
  color: #22d3ee;
}

.heading-icon.red {
  background: rgba(239,68,68,.12);
  color: #f87171;
}

.card-heading h3 {
  font-size: 16px;
}

.card-heading p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
  line-height: 1.5;
}

.field {
  min-width: 0;
}

.field.full {
  grid-column: 1/-1;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
}

.input-wrap {
  position: relative;
}

.input-wrap > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 13px;
  pointer-events: none;
}

.input-wrap input,
.input-wrap select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border-light);
  border-radius: 11px;
  outline: none;
  background: rgba(7,13,24,.7);
  color: white;
  font-size: 13px;
  transition: .2s ease;
}

.input-wrap input,
.input-wrap select {
  height: 45px;
  padding: 0 40px;
}

.field textarea {
  padding: 13px 14px;
  resize: vertical;
  min-height: 105px;
}

.input-wrap select {
  appearance: none;
  padding-right: 14px;
}

.input-wrap input::placeholder,
.field textarea::placeholder {
  color: #475569;
}

.input-wrap input:focus,
.input-wrap select:focus,
.field textarea:focus {
  border-color: rgba(59,130,246,.65);
  box-shadow: 0 0 0 3px rgba(59,130,246,.09);
}

.card-footer {
  margin-top: 22px;
  padding-top: 17px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.primary-btn,
.secondary-btn,
.danger-btn {
  border: 0;
  border-radius: 10px;
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}

.primary-btn {
  color: white;
  background: linear-gradient(135deg,#2563eb,#4f46e5);
}

.secondary-btn {
  color: #bfdbfe;
  background: rgba(59,130,246,.09);
  border: 1px solid rgba(59,130,246,.18);
}

.danger-btn {
  color: #fca5a5;
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.18);
}

.save-message {
  margin-right: auto;
  font-size: 11px;
}

.save-message.success {
  color: #4ade80;
}

.save-message.error {
  color: #f87171;
}

.payment-plan {
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: rgba(255,255,255,.025);
}

.plan-icon,
.option-icon,
.preference-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(34,197,94,.1);
  color: #4ade80;
}

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

.plan-content span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.plan-content strong {
  display: block;
  margin-top: 3px;
  font-size: 14px;
}

.plan-content p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.plan-badge {
  padding: 5px 9px;
  border-radius: 999px;
  color: #86efac;
  background: rgba(34,197,94,.09);
  font-size: 9px;
  font-weight: 800;
}

.payment-options {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payment-option {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.option-icon {
  width: 37px;
  height: 37px;
  flex-shrink: 0;
  border-radius: 10px;
  color: #93c5fd;
  background: rgba(59,130,246,.08);
}

.payment-option > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.payment-option strong {
  font-size: 12px;
}

.payment-option p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}

.secure-badge {
  color: #86efac;
  font-size: 10px;
  font-weight: 700;
}

.password-fields {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 15px;
}

.password-toggle {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  padding: 5px;
}

.password-toggle:hover {
  color: white;
}

.password-hint {
  margin-top: 15px;
  padding: 11px 13px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #94a3b8;
  background: rgba(59,130,246,.05);
  border: 1px solid rgba(59,130,246,.08);
  font-size: 11px;
}

.preference-list {
  display: flex;
  flex-direction: column;
}

.preference-row {
  min-height: 70px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.preference-row:last-child {
  border-bottom: 0;
}

.preference-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.preference-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  color: #67e8f9;
  background: rgba(6,182,212,.08);
}

.preference-info strong {
  display: block;
  font-size: 12px;
}

.preference-info p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}

.switch {
  position: relative;
  width: 43px;
  height: 24px;
  flex: 0 0 43px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #263247;
  cursor: pointer;
}

.slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #94a3b8;
  transition: .2s ease;
}

.switch input:checked + .slider {
  background: #2563eb;
}

.switch input:checked + .slider::before {
  transform: translateX(19px);
  background: white;
}

.danger-card {
  border-color: rgba(239,68,68,.16);
}

.danger-content {
  padding: 17px;
  border: 1px solid rgba(239,68,68,.11);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(239,68,68,.025);
}

.danger-content strong {
  font-size: 13px;
}

.danger-content p {
  max-width: 680px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  margin-top: 4px;
}

.danger-btn {
  white-space: nowrap;
}

/* =========================================================
   IMPORTANT FIX
   SERVICE MODE: STORE / MOBILE
   COMPACT, CLEAN, ICON BESIDE TEXT
========================================================= */

.service-mode-options,
.service-mode-selector,
.mode-options,
.mode-selector,
.service-modes,
.service-type-options,
.service-type-selector {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  gap: 10px !important;
  width: 100% !important;
}

.service-mode-option,
.service-mode-card,
.mode-option,
.mode-card,
.service-type-option,
.service-type-card {
  position: relative !important;
  flex: 1 1 150px !important;
  min-width: 130px !important;
  max-width: 220px !important;
  height: auto !important;
  min-height: 58px !important;
  padding: 10px 13px !important;
  margin: 0 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;

  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  background: rgba(255,255,255,.045) !important;
  color: #cbd5e1 !important;

  cursor: pointer !important;
  overflow: hidden !important;
}

.service-mode-option label,
.service-mode-card label,
.mode-option label,
.mode-card label,
.service-type-option label,
.service-type-card label {
  width: 100% !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;

  color: #cbd5e1 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
}

.service-mode-option i,
.service-mode-card i,
.mode-option i,
.mode-card i,
.service-type-option i,
.service-type-card i {
  position: static !important;
  inset: auto !important;
  transform: none !important;

  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  margin: 0 !important;
  padding: 0 !important;

  border-radius: 9px !important;
  background: rgba(59,130,246,.10) !important;
  color: #60a5fa !important;

  font-size: 14px !important;
}

.service-mode-option input,
.service-mode-card input,
.mode-option input,
.mode-card input,
.service-type-option input,
.service-type-card input {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.service-mode-option:has(input:checked),
.service-mode-card:has(input:checked),
.mode-option:has(input:checked),
.mode-card:has(input:checked),
.service-type-option:has(input:checked),
.service-type-card:has(input:checked) {
  border-color: rgba(59,130,246,.55) !important;
  background: rgba(59,130,246,.10) !important;
  color: #fff !important;
  box-shadow: 0 8px 25px rgba(59,130,246,.10) !important;
}

.service-mode-option:has(input:checked) i,
.service-mode-card:has(input:checked) i,
.mode-option:has(input:checked) i,
.mode-card:has(input:checked) i,
.service-type-option:has(input:checked) i,
.service-type-card:has(input:checked) i {
  background: rgba(59,130,246,.20) !important;
  color: #93c5fd !important;
}

.service-mode-option:hover,
.service-mode-card:hover,
.mode-option:hover,
.mode-card:hover,
.service-type-option:hover,
.service-type-card:hover {
  border-color: rgba(96,165,250,.35) !important;
  background: rgba(255,255,255,.065) !important;
  transform: none !important;
}

.service-mode-option span,
.service-mode-card span,
.mode-option span,
.mode-card span,
.service-type-option span,
.service-type-card span {
  position: static !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  white-space: normal !important;
}

/* =========================================================
   DIRECT RADIO LABEL FIX
========================================================= */

label:has(input[type="radio"]),
label:has(input[type="checkbox"]) {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
}

.service-mode-options label,
.service-mode-selector label,
.mode-options label,
.mode-selector label,
.service-modes label,
.service-type-options label,
.service-type-selector label {
  width: auto !important;
  min-height: 42px !important;
  height: auto !important;
  padding: 9px 12px !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 9px !important;
}

.service-mode-options label i,
.service-mode-selector label i,
.mode-options label i,
.mode-selector label i,
.service-modes label i,
.service-type-options label i,
.service-type-selector label i {
  position: static !important;
  display: inline-flex !important;
  flex: 0 0 30px !important;
  width: 30px !important;
  height: 30px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  transform: none !important;
}

/* =========================================================
   REMOVE OLD HUGE CATEGORY BUTTON EFFECT
========================================================= */

.service-card button {
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
}

/* =========================================================
   FINAL TEXT-ONLY ACTIONS
========================================================= */

#addServiceButton,
#emptyAddServiceButton,
#saveServiceButton,
#cancelServiceButton,
.service-card-actions button,
.service-actions button,
.services-error .primary-btn,
.empty-services .primary-btn {
  appearance: none !important;
  -webkit-appearance: none !important;

  background: transparent !important;
  background-image: none !important;

  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  padding: 0 !important;
  margin: 0 !important;

  color: #94a3b8 !important;

  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;

  font-size: 13px !important;
  font-weight: 600 !important;

  cursor: pointer !important;
  text-decoration: none !important;
  transform: none !important;
}

#addServiceButton:hover,
#emptyAddServiceButton:hover,
#saveServiceButton:hover,
#cancelServiceButton:hover,
.service-card-actions button:hover,
.service-actions button:hover,
.services-error .primary-btn:hover,
.empty-services .primary-btn:hover {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
  color: #fff !important;
  transform: none !important;
  text-decoration: underline !important;
}

.service-card-actions .delete,
.service-actions .delete-service {
  color: #f87171 !important;
}

.service-card-actions .delete:hover,
.service-actions .delete-service:hover {
  color: #fca5a5 !important;
}

#addServiceButton {
  color: #cbd5e1 !important;
}

#addServiceButton i {
  color: #60a5fa !important;
}

#saveServiceButton {
  color: #60a5fa !important;
}

#cancelServiceButton {
  color: #94a3b8 !important;
}

.services-error .primary-btn {
  color: #60a5fa !important;
}

#emptyAddServiceButton {
  color: #60a5fa !important;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {
  .settings-grid {
    grid-template-columns: 1fr;
  }

  .settings-card:last-child {
    grid-column: auto;
  }

  .password-fields {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   MOBILE LAYOUT
   ONLY MOBILE BEHAVIOUR IS CHANGED HERE
========================================================= */

@media (max-width: 768px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .dashboard {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  .sidebar {
    position: relative;
    top: auto;
    left: auto;

    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;

    padding: 16px;
    overflow: visible;

    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .sidebar nav {
    width: 100%;
    max-width: 100%;
  }

  .sidebar nav a {
    width: 100%;
    max-width: 100%;
  }

  .topbar {
    position: relative;
    top: auto;
    left: auto;
    right: auto;

    width: 100%;
    max-width: 100%;

    min-width: 0;

    padding: 16px;
    flex-wrap: wrap;
    gap: 10px;

    overflow: hidden;
  }

  .topbar h1 {
    font-size: 26px;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .topbar p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  footer {
    position: relative;
    left: auto;
    right: auto;
    width: 100%;
    max-width: 100%;
  }

  .main-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    margin-left: 0;

    padding: 20px 12px 80px;

    overflow-x: hidden;
  }

  /* Prevent pages/forms from being pushed outside viewport */
  .main-content > *,
  .main-content section,
  .main-content form,
  .main-content .container {
    max-width: 100%;
    min-width: 0;
  }

  .glass-card,
  .card {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    margin-left: 0;
    margin-right: 0;

    padding: 20px;
    overflow: hidden;
  }

  .glass-card:has(#searchInput) {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
  }

  .form-group {
    width: 100%;
    min-width: 0;
  }

  .form-group input,
  .form-group select,
  .glass-card textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .summary-grid {
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
  }

  .summary-item {
    width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .grid,
  .services-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .service-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .service-card img {
    max-width: 100%;
  }

  .service-card p,
  .service-card h3 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .search-box {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .search-box input {
    min-width: 0;
    width: 100%;
  }

  .gallery-box {
    width: 100%;
    max-width: 100%;
    gap: 10px;
    padding: 0 10px;
  }

  #galleryImage {
    max-width: 95vw;
    max-height: 65vh;
  }

  .gallery-arrow {
    width: 45px;
    height: 45px;
    font-size: 22px;
    flex-shrink: 0;
  }

  .gallery-thumbs img {
    width: 60px;
    height: 60px;
  }

  .gallery-counter {
    font-size: 13px;
  }

  .gallery-controls {
    flex-wrap: wrap;
    max-width: 100%;
  }

  /* AUTH / BUSINESS REGISTRATION */
  .auth-layout {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;

    grid-template-columns: 1fr;

    overflow-x: hidden;
  }

  .auth-left {
    display: none;
  }

  .auth-right {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    padding: 20px 12px;
  }

  .auth-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    padding: 28px 20px;
  }

  .auth-card input[type=text],
  .auth-card input[type=email],
  .auth-card input[type=password] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .role-box {
    flex-wrap: wrap;
    width: 100%;
  }

  /* SETTINGS */
  .settings-page {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    padding: 28px 12px 50px;
    overflow-x: hidden;
  }

  .settings-heading {
    max-width: 100%;
  }

  .settings-heading h2 {
    font-size: 25px;
    overflow-wrap: anywhere;
  }

  .settings-heading p {
    overflow-wrap: anywhere;
  }

  .profile-hero {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    padding: 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-large {
    max-width: 100%;
    min-width: 0;
  }

  .profile-large > div:last-child {
    min-width: 0;
  }

  .profile-large h3,
  .profile-large p {
    overflow-wrap: anywhere;
  }

  .large-avatar {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }

  .account-status {
    width: 100%;
    max-width: 100%;
    align-self: stretch;
    justify-content: center;
  }

  .settings-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 19px;
  }

  .settings-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .card-heading {
    max-width: 100%;
    min-width: 0;
  }

  .card-heading > div:last-child {
    min-width: 0;
  }

  .card-heading h3,
  .card-heading p {
    overflow-wrap: anywhere;
  }

  .field {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .input-wrap,
  .input-wrap input,
  .input-wrap select,
  .field textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .card-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .save-message {
    margin-right: 0;
  }

  .primary-btn {
    width: 100%;
  }

  .payment-plan {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    align-items: flex-start;
    flex-wrap: wrap;
  }

  .plan-content {
    min-width: 0;
  }

  .plan-content p,
  .plan-content strong {
    overflow-wrap: anywhere;
  }

  .payment-option {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    align-items: flex-start;
    flex-wrap: wrap;
  }

  .payment-option > div:nth-child(2) {
    min-width: 0;
  }

  .payment-option p {
    overflow-wrap: anywhere;
  }

  .payment-option .secondary-btn {
    width: 100%;
  }

  .danger-content {
    align-items: stretch;
    flex-direction: column;
  }

  .danger-content p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .danger-btn {
    width: 100%;
  }

  /* Mobile mode selectors */
  .service-mode-options,
  .service-mode-selector,
  .mode-options,
  .mode-selector,
  .service-modes,
  .service-type-options,
  .service-type-selector {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .service-mode-option,
  .service-mode-card,
  .mode-option,
  .mode-card,
  .service-type-option,
  .service-type-card {
    flex: 1 1 130px !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 54px !important;
  }

  /* PAYMENT RESULT */
  .payment-result-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 35px 20px;
  }

  .payment-confirmation {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .confirmation-row {
    min-width: 0;
  }

  .confirmation-row span,
  .confirmation-row strong {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

  .main-content {
    padding-left: 10px;
    padding-right: 10px;
  }

  .sidebar {
    padding: 14px 12px;
  }

  .topbar {
    padding: 14px 12px;
  }

  .glass-card,
  .card {
    padding: 17px;
    border-radius: 18px;
  }

  .glass-card h2 {
    font-size: 23px;
  }

  .topbar h1 {
    font-size: 23px;
  }

  .topbar p {
    font-size: 13px;
  }

  .gallery-close {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .gallery-arrow {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  #galleryImage {
    max-width: 94vw;
    max-height: 55vh;
  }

  .settings-page {
    padding-left: 10px;
    padding-right: 10px;
  }

  .settings-heading h2 {
    font-size: 23px;
  }

  .settings-heading p {
    font-size: 12px;
  }

  .profile-large {
    gap: 11px;
    width: 100%;
    min-width: 0;
  }

  .profile-large h3 {
    font-size: 17px;
  }

  .profile-large p {
    font-size: 11px;
  }

  .settings-card {
    border-radius: 15px;
    padding: 16px;
  }

  .card-heading {
    gap: 10px;
  }

  .heading-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .payment-plan {
    padding: 13px;
  }

  .payment-option {
    padding: 12px;
  }

  /* Small phone mode choices */
  .service-mode-option,
  .service-mode-card,
  .mode-option,
  .mode-card,
  .service-type-option,
  .service-type-card {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 52px !important;
  }

  /* AUTH / BUSINESS FORM */
  .auth-right {
    padding: 15px 10px;
  }

  .auth-card {
    padding: 24px 16px;
    border-radius: 20px;
  }

  .role-box {
    flex-direction: column;
    gap: 12px;
  }

  /* BOOKING / FORM PAGES */
  .form-grid {
    gap: 15px;
  }

  .form-group input,
  .form-group select,
  .glass-card textarea {
    font-size: 14px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .summary-item {
    padding: 14px;
  }

  .summary-item strong {
    font-size: 15px;
  }

  /* CONFIRMATION */
  .confirmation-row {
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
  }

  .confirmation-row strong {
    text-align: left;
  }
}

/* =========================================================
   LOGOUT BUTTON
========================================================= */

.sidebar-bottom {
  margin-top: auto !important;
  width: 100% !important;
  padding: 20px 0 0 !important;
}

.logout-btn {
  width: 100% !important;
  min-height: 46px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;

  padding: 12px 16px !important;

  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;

  background: rgba(255, 255, 255, 0.04) !important;
  color: #cbd5e1 !important;

  font-size: 14px !important;
  font-weight: 600 !important;

  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.logout-btn i {
  width: 20px !important;
  min-width: 20px !important;
  text-align: center !important;
  font-size: 15px !important;
}

.logout-btn span {
  display: inline-block !important;
  white-space: nowrap !important;
}

.logout-btn:hover {
  background: rgba(239, 68, 68, 0.12) !important;
  border-color: rgba(239, 68, 68, 0.25) !important;
  color: #f87171 !important;
}

.logout-btn:active {
  transform: translateY(1px);
}

/* =========================================================
   POSTPONE BOOKING CARD
========================================================= */

.postpone-card {
  width: 100%;
  margin-top: 22px;
  padding: 26px;

  background:
    linear-gradient(
      145deg,
      rgba(124, 58, 237, 0.14),
      rgba(15, 23, 42, 0.82)
    );

  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: 20px;

  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);

  animation: postponeCardIn 0.25s ease;
}

.postpone-card h3 {
  margin: 0 0 7px;
  color: #ffffff;
  font-size: 19px;
  font-weight: 750;
}

.postpone-card > p {
  margin-bottom: 22px;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.6;
}

/* =========================
   POSTPONE FORM
========================= */

.postpone-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.postpone-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.postpone-field.full {
  grid-column: 1 / -1;
}

.postpone-field label {
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 650;
}

.postpone-field label i {
  margin-right: 6px;
  color: #a78bfa;
}

.postpone-field input,
.postpone-field textarea {
  width: 100%;
  padding: 13px 14px;

  background: rgba(5, 8, 17, 0.72);

  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;

  color: #ffffff;

  font-family: inherit;
  font-size: 14px;

  outline: none;

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.postpone-field input {
  height: 48px;
}

.postpone-field textarea {
  min-height: 105px;
  resize: vertical;
  line-height: 1.5;
}

.postpone-field input:focus,
.postpone-field textarea:focus {
  border-color: rgba(167, 139, 250, 0.65);
  background: rgba(5, 8, 17, 0.9);

  box-shadow:
    0 0 0 3px rgba(124, 58, 237, 0.10);
}

.postpone-field input::placeholder,
.postpone-field textarea::placeholder {
  color: #566075;
}

/* =========================
   DATE / TIME INPUT ICONS
========================= */

.postpone-field input[type="date"],
.postpone-field input[type="time"] {
  color-scheme: dark;
}

/* =========================
   POSTPONE ACTIONS
========================= */

.postpone-actions {
  grid-column: 1 / -1;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 11px;

  padding-top: 5px;
}

.postpone-actions button {
  min-height: 44px;

  padding: 11px 18px;

  border-radius: 10px;

  font-family: inherit;
  font-size: 13px;
  font-weight: 650;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.postpone-actions button:hover {
  transform: translateY(-2px);
}

.postpone-cancel {
  background: rgba(255, 255, 255, 0.045);

  border: 1px solid rgba(255, 255, 255, 0.10);

  color: #cbd5e1;
}

.postpone-cancel:hover {
  background: rgba(255, 255, 255, 0.08);
}

.postpone-submit {
  background: linear-gradient(
    135deg,
    #7c3aed,
    #6366f1
  );

  border: 1px solid rgba(167, 139, 250, 0.35);

  color: #ffffff;

  box-shadow:
    0 8px 22px rgba(99, 102, 241, 0.20);
}

.postpone-submit:hover {
  box-shadow:
    0 12px 28px rgba(99, 102, 241, 0.30);
}

/* =========================
   POSTPONE HEADER ICON
========================= */

.postpone-title {
  display: flex;
  align-items: center;
  gap: 11px;
}

.postpone-title i {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;

  background: rgba(245, 158, 11, 0.12);

  border: 1px solid rgba(245, 158, 11, 0.20);

  color: #f59e0b;
}

/* =========================
   POSTPONE RESPONSIVE
========================= */

@media (max-width: 650px) {

  .postpone-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    padding: 20px;
    border-radius: 17px;
  }

  .postpone-form {
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
  }

  .postpone-field,
  .postpone-field input,
  .postpone-field textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .postpone-field.full {
    grid-column: auto;
  }

  .postpone-actions {
    grid-column: auto;

    flex-direction: column-reverse;
    align-items: stretch;
  }

  .postpone-actions button {
    width: 100%;
  }
}

/* =========================
   ANIMATION
========================= */

@keyframes postponeCardIn {

  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

}
