/* =========================================================
   AVANTE ACCOUNT SYSTEM (login modal + account dashboard modal)
   Scoped entirely under #akp-account-system
   ========================================================= */

#akp-account-system {
  --aka-rose-950:#4b1f30;
  --aka-rose-900:#61263c;
  --aka-rose-800:#7c3150;
  --aka-rose-700:#98415f;
  --aka-rose-600:#b95b7c;
  --aka-rose-300:#e2adbf;
  --aka-rose-200:#efcbd6;
  --aka-rose-100:#f9e9ee;

  --aka-white:#ffffff;
  --aka-bg:#fffafb;
  --aka-text:#34232a;
  --aka-muted:#806b74;
  --aka-line:rgba(75,31,48,.09);

  --aka-green:#27795c;
  --aka-green-bg:#eaf7f1;
  --aka-amber:#95651f;
  --aka-amber-bg:#fff7e6;
  --aka-red:#b2465b;
  --aka-red-bg:#fff0f3;
  --aka-gray:#817479;
  --aka-gray-bg:#f3eff1;

  --aka-shadow:0 18px 48px rgba(75,31,48,.07);
  --aka-shadow-lg:0 34px 90px rgba(56,23,36,.20);

  /* Card/button surface (most of the file hardcodes plain #fff), plus fixed
     (never re-themed) gradients for small icon-badge circles — these always
     carry a white glyph on top, so they keep these exact light-mode colors
     in dark mode too rather than following the rose tokens, which DO get
     lightened for dark (see html[data-theme="dark"] block below). */
  --aka-surface:#fff;
  --aka-badge-1:#4b1f30;
  --aka-badge-2:#98415f;
  --aka-badge-3:#61263c;
  --aka-badge-4:#b95b7c;
  --aka-badge-5:#7c3150;
  --aka-badge-6:#e2adbf;

  direction:rtl;
  color:var(--aka-text);
  line-height:1.75;
}

#akp-account-system,
#akp-account-system * {
  box-sizing:border-box;
}

#akp-account-system .akp-icon {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:20px;
  height:20px;
  flex:0 0 auto;
}

#akp-account-system .akp-icon svg {
  width:100%;
  height:100%;
  display:block;
}

/* =========================================================
   MODAL SYSTEM
   ========================================================= */

#akp-account-system .akp-modal {
  position:fixed;
  inset:0;
  z-index:999999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:
    opacity .25s ease,
    visibility .25s ease;
}

#akp-account-system .akp-modal.is-open {
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

#akp-account-system .akp-modal-backdrop {
  position:absolute;
  inset:0;
  background:rgba(36,15,23,.62);
  backdrop-filter:blur(8px);
}

#akp-account-system .akp-modal-card {
  position:relative;
  z-index:2;
  width:min(100%,480px);
  max-height:calc(100vh - 40px);
  overflow:auto;
  border:1px solid rgba(255,255,255,.28);
  border-radius:30px;
  background:
    radial-gradient(circle at 100% 0%,rgba(249,233,238,.9),transparent 32%),
    rgba(255,255,255,.98);
  box-shadow:var(--aka-shadow-lg);
  transform:translateY(15px) scale(.97);
  opacity:0;
  transition:
    transform .28s cubic-bezier(.2,.75,.2,1),
    opacity .25s ease;
}

#akp-account-system .akp-modal.is-open .akp-modal-card {
  transform:translateY(0) scale(1);
  opacity:1;
}

#akp-account-system .akp-modal-card-large {
  width:min(1050px,100%);
  /* This card stops scrolling itself — .akp-account-content (below) does the
     scrolling instead, so the close button (a sibling, not inside that
     scrolling area) stays visible in place instead of scrolling away with
     the profile/booking content (2026-08-29 bug report). */
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
#akp-account-system .akp-modal-card-large .akp-account-layout {
  flex:1;
  min-height:0;
  /* Without this, the grid's single row auto-sizes to fit its tallest item
     (the profile/booking content) instead of filling the space actually
     available — which is what let the content grow past the card and hide
     the close button behind an outer overflow:hidden clip instead of
     scrolling internally. */
  grid-template-rows:minmax(0,1fr);
}

#akp-account-system [data-modal-close] {
  position:absolute;
  z-index:5;
  top:18px;
  left:18px;
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  padding:0;
  border:1px solid rgba(124,49,80,.10);
  border-radius:13px;
  color:var(--aka-rose-800);
  background:rgba(255,255,255,.87);
  cursor:pointer;
  transition:
    transform .2s ease,
    color .2s ease,
    background .2s ease;
}

#akp-account-system [data-modal-close]:hover {
  transform:rotate(4deg) scale(1.04);
  color:#fff;
  background:var(--aka-rose-800);
}

/* =========================================================
   LOGIN MODAL
   ========================================================= */

#akp-account-system .akp-login-content {
  padding:42px 34px 34px;
}

#akp-account-system .akp-login-symbol {
  position:relative;
  display:grid;
  place-items:center;
  width:66px;
  height:66px;
  margin:0 auto 20px;
  border-radius:23px;
  color:#fff;
  background:
    radial-gradient(circle at 30% 25%,rgba(255,255,255,.28),transparent 22%),
    linear-gradient(145deg,var(--aka-badge-1),var(--aka-badge-4));
  box-shadow:
    0 14px 32px rgba(97,38,60,.21),
    0 0 0 9px rgba(185,91,124,.08);
}

#akp-account-system .akp-login-head {
  margin-bottom:24px;
  text-align:center;
}

#akp-account-system .akp-login-head h2 {
  margin:0;
  color:var(--aka-rose-950);
  font-size:25px;
  line-height:1.4;
  font-weight:950;
}

#akp-account-system .akp-login-head p {
  max-width:370px;
  margin:7px auto 0;
  color:var(--aka-muted);
  font-size:13px;
}

#akp-account-system .akp-field {
  display:flex;
  flex-direction:column;
  gap:7px;
}

#akp-account-system .akp-field label {
  color:var(--aka-rose-900);
  font-size:12px;
  font-weight:850;
}

#akp-account-system .akp-input-wrap {
  position:relative;
}

#akp-account-system .akp-input-icon {
  position:absolute;
  z-index:2;
  top:50%;
  right:15px;
  width:18px;
  height:18px;
  color:var(--aka-rose-600);
  transform:translateY(-50%);
  pointer-events:none;
}

#akp-account-system .akp-field input,
#akp-account-system .akp-field textarea,
#akp-account-system .akp-contact-input input {
  width:100%;
  border:1px solid rgba(124,49,80,.14);
  outline:0;
  color:var(--aka-text);
  background:var(--aka-surface);
  box-shadow:0 7px 20px rgba(75,31,48,.035);
  font-family:inherit;
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

#akp-account-system .akp-field input {
  height:52px;
  padding:0 43px 0 14px;
  border-radius:17px;
}

#akp-account-system .akp-field textarea {
  min-height:110px;
  padding:13px 15px;
  border-radius:18px;
  resize:vertical;
  line-height:1.8;
}

#akp-account-system .akp-field input:focus,
#akp-account-system .akp-field textarea:focus,
#akp-account-system .akp-contact-input input:focus {
  border-color:var(--aka-rose-600);
  background:#fffdfd;
  box-shadow:
    0 0 0 4px rgba(185,91,124,.08),
    0 8px 22px rgba(75,31,48,.045);
}

#akp-account-system .akp-login-action {
  display:grid;
  gap:12px;
  margin-top:15px;
}

#akp-account-system [data-avnt-send-otp],
#akp-account-system [data-avnt-verify-otp],
#akp-account-system [data-avnt-save-profile] {
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  min-height:49px;
  padding:10px 18px;
  border:1px solid var(--aka-rose-800);
  border-radius:16px;
  color:#fff;
  background:
    linear-gradient(145deg,var(--aka-badge-1),var(--aka-badge-2));
  box-shadow:0 11px 25px rgba(97,38,60,.17);
  cursor:pointer;
  font-weight:900;
  font-family:inherit;
  overflow:hidden;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    opacity .2s ease;
}

#akp-account-system [data-avnt-send-otp]:hover,
#akp-account-system [data-avnt-verify-otp]:hover,
#akp-account-system [data-avnt-save-profile]:hover {
  transform:translateY(-2px);
  box-shadow:0 15px 30px rgba(97,38,60,.22);
}

#akp-account-system [data-avnt-send-otp].is-loading,
#akp-account-system [data-avnt-verify-otp].is-loading,
#akp-account-system [data-avnt-save-profile].is-loading {
  pointer-events:none;
  opacity:.82;
}

#akp-account-system [data-avnt-send-otp].is-loading::after,
#akp-account-system [data-avnt-verify-otp].is-loading::after,
#akp-account-system [data-avnt-save-profile].is-loading::after {
  content:"";
  width:16px;
  height:16px;
  border:2px solid rgba(255,255,255,.4);
  border-top-color:#fff;
  border-radius:50%;
  animation:akp-spin .7s linear infinite;
}

#akp-account-system [data-avnt-edit-phone] {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  margin:13px auto 0;
  border:0;
  padding:0;
  color:var(--aka-rose-700);
  background:transparent;
  text-decoration:none;
  cursor:pointer;
  font-size:12px;
  font-weight:850;
  font-family:inherit;
}

#akp-account-system [data-avnt-edit-phone]:hover {
  color:var(--aka-rose-950);
}

#akp-account-system .akp-otp-code input {
  direction:ltr;
  text-align:center;
  padding:0 14px;
  letter-spacing:.45em;
  font-size:21px;
  font-weight:950;
}

#akp-account-system [data-avnt="otp-msg"] {
  margin-top:12px;
  min-height:22px;
  color:var(--aka-green);
  font-size:12px;
  text-align:center;
}

#akp-account-system [data-avnt="otp-msg"]:empty {
  display:none;
}

#akp-account-system [data-avnt="global-error"] {
  margin:0 0 13px;
  padding:11px 13px;
  border:1px solid rgba(178,70,91,.16);
  border-radius:14px;
  color:var(--aka-red);
  background:var(--aka-red-bg);
  font-size:12px;
  font-weight:780;
}

#akp-account-system [data-avnt="global-error"]:empty {
  display:none;
}

#akp-account-system .is-hidden {
  display:none !important;
}

/* =========================================================
   ACCOUNT DASHBOARD
   ========================================================= */

#akp-account-system .akp-account-layout {
  display:grid;
  grid-template-columns:240px minmax(0,1fr);
  min-height:560px;
}

#akp-account-system .akp-account-sidebar {
  position:relative;
  padding:30px 18px 22px;
  overflow-y:auto;
  overflow-x:hidden;
  border-left:1px solid var(--aka-line);
  background:
    radial-gradient(circle at 50% 0%,rgba(226,173,191,.28),transparent 30%),
    linear-gradient(180deg,#fff9fb,#fff);
}

#akp-account-system .akp-account-sidebar::after {
  content:"";
  position:absolute;
  width:170px;
  height:170px;
  right:-95px;
  bottom:-80px;
  border-radius:50%;
  background:var(--aka-rose-100);
  opacity:.75;
}

#akp-account-system .akp-user-mini {
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  gap:11px;
  padding:10px 7px 22px;
  margin-bottom:13px;
  border-bottom:1px solid var(--aka-line);
}

#akp-account-system .akp-user-mini-avatar {
  display:grid;
  place-items:center;
  width:47px;
  height:47px;
  flex:0 0 auto;
  border-radius:17px;
  color:#fff;
  background:
    radial-gradient(circle at 30% 25%,rgba(255,255,255,.25),transparent 24%),
    linear-gradient(145deg,var(--aka-badge-3),var(--aka-badge-4));
  box-shadow:0 10px 22px rgba(97,38,60,.16);
  font-weight:950;
}

#akp-account-system .akp-user-mini strong {
  display:block;
  color:var(--aka-rose-950);
  font-size:13px;
  line-height:1.4;
}

#akp-account-system .akp-user-mini span {
  color:var(--aka-muted);
  font-size:10px;
  direction:ltr;
  display:block;
  text-align:right;
}

#akp-account-system .akp-account-nav {
  position:relative;
  z-index:2;
  display:grid;
  gap:7px;
}

#akp-account-system [data-tab],
#akp-account-system [data-avnt-logout] {
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  min-height:45px;
  padding:9px 12px;
  border:1px solid transparent;
  border-radius:14px;
  color:#705b64;
  background:transparent;
  text-align:right;
  cursor:pointer;
  font-weight:830;
  font-family:inherit;
  transition:
    color .2s ease,
    background .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

#akp-account-system [data-tab]:hover {
  transform:translateX(-2px);
  color:var(--aka-rose-900);
  background:var(--aka-rose-100);
}

#akp-account-system [data-tab].is-active {
  color:var(--aka-rose-950);
  border-color:rgba(185,91,124,.11);
  background:var(--aka-surface);
  box-shadow:0 8px 20px rgba(75,31,48,.055);
}

#akp-account-system [data-tab].is-active .akp-nav-icon {
  color:#fff;
  background:linear-gradient(145deg,var(--aka-badge-3),var(--aka-badge-4));
}

#akp-account-system .akp-nav-icon {
  display:grid;
  place-items:center;
  width:31px;
  height:31px;
  flex:0 0 auto;
  border-radius:10px;
  color:var(--aka-rose-700);
  background:var(--aka-rose-100);
  transition:.2s ease;
}

#akp-account-system .akp-account-logout-wrap {
  position:relative;
  z-index:2;
  margin-top:18px;
  padding-top:17px;
  border-top:1px solid var(--aka-line);
}

#akp-account-system [data-avnt-logout] {
  color:var(--aka-red);
}

#akp-account-system [data-avnt-logout] .akp-nav-icon {
  color:var(--aka-red);
  background:var(--aka-red-bg);
}

#akp-account-system [data-avnt-logout]:hover {
  background:var(--aka-red-bg);
}

#akp-account-system .akp-account-content {
  min-width:0;
  min-height:0; /* lets this grid item actually shrink so its own overflow:auto can scroll, instead of growing to fit its content and pushing the close button off-screen */
  padding:32px;
  background:var(--aka-surface);
  overflow:auto;
}

#akp-account-system [data-tab-panel] {
  animation:akp-tab-in .28s ease both;
}

#akp-account-system [data-tab-panel].is-hidden {
  display:none !important;
}

#akp-account-system .akp-panel-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:24px;
}

#akp-account-system .akp-panel-head h2 {
  margin:0;
  color:var(--aka-rose-950);
  font-size:24px;
  line-height:1.4;
  font-weight:950;
}

#akp-account-system .akp-panel-head p {
  max-width:560px;
  margin:5px 0 0;
  color:var(--aka-muted);
  font-size:12px;
}

#akp-account-system .akp-small-badge {
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  color:var(--aka-rose-800);
  background:var(--aka-rose-100);
  font-size:10px;
  font-weight:900;
}

#akp-account-system .akp-small-badge:empty {
  display:none;
}

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

#akp-account-system .akp-booking-list {
  display:grid;
  gap:12px;
}

#akp-account-system .akp-booking-card {
  position:relative;
  overflow:hidden;
  padding:18px 19px;
  border:1px solid rgba(124,49,80,.10);
  border-radius:22px;
  background:
    linear-gradient(145deg,#fff,#fffafb);
  box-shadow:0 9px 26px rgba(75,31,48,.04);
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

#akp-account-system .akp-booking-card::before {
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:4px;
  height:100%;
  background:linear-gradient(180deg,var(--aka-rose-600),var(--aka-rose-200));
}

#akp-account-system .akp-booking-card:hover {
  transform:translateY(-2px);
  border-color:rgba(185,91,124,.23);
  box-shadow:0 14px 34px rgba(75,31,48,.08);
}

#akp-account-system .akp-booking-top {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}

#akp-account-system .akp-booking-name {
  margin:0;
  color:var(--aka-rose-950);
  font-size:15px;
  line-height:1.4;
  font-weight:950;
}

#akp-account-system .akp-booking-code {
  margin-top:3px;
  color:#a18c95;
  font-size:10px;
}

#akp-account-system .akp-status {
  display:inline-flex;
  align-items:center;
  gap:5px;
  flex:0 0 auto;
  padding:5px 9px;
  border-radius:999px;
  font-size:10px;
  font-weight:850;
}

#akp-account-system .akp-status::before {
  content:"";
  width:5px;
  height:5px;
  border-radius:50%;
  background:currentColor;
}

#akp-account-system .akp-status-pending { color:var(--aka-amber); background:var(--aka-amber-bg); }
#akp-account-system .akp-status-confirmed { color:var(--aka-green); background:var(--aka-green-bg); }
#akp-account-system .akp-status-rejected { color:var(--aka-red); background:var(--aka-red-bg); }
#akp-account-system .akp-status-cancelled { color:var(--aka-gray); background:var(--aka-gray-bg); }

#akp-account-system .akp-booking-meta {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}

#akp-account-system .akp-meta {
  min-width:0;
  padding:9px 10px;
  border-radius:13px;
  background:#faf6f8;
}

#akp-account-system .akp-meta span {
  display:block;
  color:#9a858e;
  font-size:9px;
}

#akp-account-system .akp-meta strong {
  display:block;
  margin-top:1px;
  overflow:hidden;
  color:#59464e;
  font-size:11px;
  white-space:nowrap;
  text-overflow:ellipsis;
}

#akp-account-system .akp-deposit {
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:12px;
  padding:6px 10px;
  border-radius:12px;
  color:var(--aka-green);
  background:var(--aka-green-bg);
  font-size:10px;
  font-weight:850;
}

#akp-account-system .akp-deposit.is-unpaid {
  color:var(--aka-amber);
  background:var(--aka-amber-bg);
}

#akp-account-system .akp-empty-state {
  display:grid;
  place-items:center;
  min-height:280px;
  padding:34px 20px;
  border:1px dashed var(--aka-rose-200);
  border-radius:24px;
  text-align:center;
  background:
    radial-gradient(circle at 50% 20%,rgba(249,233,238,.8),transparent 38%),
    #fff;
}

#akp-account-system .akp-empty-inner {
  max-width:390px;
}

#akp-account-system .akp-empty-icon {
  display:grid;
  place-items:center;
  width:64px;
  height:64px;
  margin:0 auto 17px;
  border-radius:22px;
  color:var(--aka-rose-700);
  background:var(--aka-rose-100);
  font-size:26px;
}

#akp-account-system .akp-empty-state h3 {
  margin:0;
  color:var(--aka-rose-950);
  font-size:17px;
}

#akp-account-system .akp-empty-state p {
  margin:5px 0 0;
  color:var(--aka-muted);
  font-size:12px;
}

#akp-account-system .avnt-loading {
  padding:20px 0;
  color:var(--aka-muted);
  font-size:13px;
  text-align:center;
}

/* =========================================================
   PROFILE
   ========================================================= */

#akp-account-system .akp-profile-grid {
  display:grid;
  grid-template-columns:190px minmax(0,1fr);
  gap:26px;
}

#akp-account-system .akp-profile-avatar-card {
  align-self:start;
  padding:18px;
  border:1px solid rgba(124,49,80,.1);
  border-radius:22px;
  background:
    linear-gradient(145deg,var(--aka-rose-100),#fff);
  text-align:center;
}

#akp-account-system .akp-avatar-preview-wrap {
  position:relative;
  width:108px;
  height:108px;
  margin:0 auto 15px;
}

#akp-account-system [data-avnt="avatar-preview"] {
  display:block;
  width:108px;
  height:108px;
  border:5px solid rgba(255,255,255,.9);
  border-radius:33px;
  object-fit:cover;
  background:
    linear-gradient(145deg,var(--aka-badge-5),var(--aka-badge-6));
  box-shadow:0 14px 30px rgba(97,38,60,.18);
}

#akp-account-system .akp-avatar-upload {
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:38px;
  padding:7px 11px;
  border:1px solid var(--aka-rose-200);
  border-radius:13px;
  color:var(--aka-rose-800);
  background:var(--aka-surface);
  cursor:pointer;
  font-size:11px;
  font-weight:850;
}

#akp-account-system [data-avnt="avatar-input"] {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  opacity:0;
  pointer-events:none;
}

#akp-account-system .akp-avatar-note {
  margin:9px 0 0;
  color:var(--aka-muted);
  font-size:9px;
  line-height:1.7;
}

#akp-account-system .akp-profile-form {
  display:grid;
  gap:20px;
}

#akp-account-system .akp-form-section {
  padding:19px;
  border:1px solid rgba(124,49,80,.09);
  border-radius:22px;
  background:var(--aka-surface);
}

#akp-account-system .akp-form-section-title {
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
  color:var(--aka-rose-900);
  font-size:12px;
  font-weight:900;
}

#akp-account-system .akp-form-section-title::before {
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--aka-rose-600);
  box-shadow:0 0 0 5px rgba(185,91,124,.08);
}

#akp-account-system .akp-contact-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

#akp-account-system .akp-contact-input {
  position:relative;
}

#akp-account-system .akp-contact-input input {
  height:47px;
  padding:0 48px 0 12px;
  border-radius:15px;
  direction:ltr;
  text-align:left;
}

#akp-account-system .akp-social-icon {
  position:absolute;
  z-index:2;
  top:50%;
  right:8px;
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border-radius:10px;
  transform:translateY(-50%);
  color:var(--aka-rose-800);
  background:var(--aka-rose-100);
  font-size:10px;
  font-weight:950;
}

#akp-account-system .akp-profile-save {
  display:flex;
  justify-content:flex-end;
}

#akp-account-system .akp-profile-save [data-avnt-save-profile] {
  width:auto;
  min-width:180px;
}

/* =========================================================
   AI PLACEHOLDER
   ========================================================= */

#akp-account-system .akp-ai-panel {
  position:relative;
  isolation:isolate;
  display:grid;
  place-items:center;
  min-height:400px;
  overflow:hidden;
  border:1px solid rgba(124,49,80,.1);
  border-radius:28px;
  background:
    radial-gradient(circle at 50% 0%,rgba(226,173,191,.32),transparent 38%),
    linear-gradient(145deg,#fff,#fff8fa);
}

#akp-account-system .akp-ai-inner {
  max-width:520px;
  padding:42px 24px;
  text-align:center;
}

#akp-account-system .akp-ai-orb {
  position:relative;
  display:grid;
  place-items:center;
  width:90px;
  height:90px;
  margin:0 auto 22px;
  border-radius:31px;
  color:#fff;
  background:
    radial-gradient(circle at 27% 20%,rgba(255,255,255,.34),transparent 18%),
    linear-gradient(145deg,var(--aka-badge-1),var(--aka-badge-4));
  box-shadow:
    0 20px 40px rgba(97,38,60,.22),
    0 0 0 11px rgba(185,91,124,.07);
  animation:akp-ai-float 3s ease-in-out infinite alternate;
}

#akp-account-system .akp-coming-soon {
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 11px;
  margin-bottom:14px;
  border:1px solid var(--aka-rose-200);
  border-radius:999px;
  color:var(--aka-rose-700);
  background:rgba(255,255,255,.75);
  font-size:10px;
  font-weight:900;
}

#akp-account-system .akp-ai-inner h3 {
  margin:0;
  color:var(--aka-rose-950);
  font-size:25px;
  font-weight:950;
}

#akp-account-system .akp-ai-inner p {
  margin:8px auto 0;
  color:var(--aka-muted);
  font-size:12px;
  line-height:1.9;
}

/* =========================================================
   MOBILE DASHBOARD NAV
   ========================================================= */

#akp-account-system .akp-mobile-tabs {
  display:none;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes akp-spin { to { transform:rotate(360deg); } }
@keyframes akp-tab-in { from { opacity:0; transform:translateY(7px); } to { opacity:1; transform:translateY(0); } }
@keyframes akp-ai-float { from { transform:translateY(-3px) rotate(-2deg); } to { transform:translateY(5px) rotate(2deg); } }

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

@media (max-width:850px) {
  #akp-account-system .akp-account-layout { grid-template-columns:1fr; }
  #akp-account-system .akp-account-sidebar { display:none; }
  #akp-account-system .akp-mobile-tabs {
    display:flex;
    gap:7px;
    overflow-x:auto;
    padding:14px 18px;
    border-bottom:1px solid var(--aka-line);
    background:#fff9fb;
  }
  #akp-account-system .akp-mobile-tabs [data-tab] {
    width:auto;
    flex:0 0 auto;
    min-height:39px;
    padding:6px 10px;
    background:var(--aka-surface);
    border-color:var(--aka-line);
    font-size:11px;
  }
  #akp-account-system .akp-account-content { padding:24px 20px; }
  #akp-account-system .akp-profile-grid { grid-template-columns:1fr; }
  #akp-account-system .akp-profile-avatar-card {
    display:flex;
    align-items:center;
    gap:18px;
    text-align:right;
  }
  #akp-account-system .akp-avatar-preview-wrap { margin:0; flex:0 0 auto; }
}

@media (max-width:680px) {
  #akp-account-system .akp-login-content { padding:38px 20px 25px; }
  #akp-account-system .akp-modal { align-items:flex-end; padding:10px; }
  #akp-account-system .akp-modal-card { width:100%; max-height:calc(100vh - 20px); border-radius:26px; }
  #akp-account-system .akp-modal-card-large { width:100%; }
  #akp-account-system .akp-account-layout { min-height:70vh; }
  /* Mobile swaps the sidebar for a .akp-mobile-tabs bar, adding a 2nd grid
     child — the single-row assumption above only holds on desktop (sidebar +
     content side by side), so this needs its own row track: tab bar keeps
     its natural height, content takes whatever's left. */
  #akp-account-system .akp-modal-card-large .akp-account-layout { grid-template-rows:auto minmax(0,1fr); }
  #akp-account-system .akp-account-content { padding:20px 14px 24px; }
  #akp-account-system .akp-panel-head { flex-direction:column; gap:9px; }
  #akp-account-system .akp-booking-meta { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #akp-account-system .akp-contact-grid { grid-template-columns:1fr; }
  #akp-account-system .akp-profile-avatar-card { padding:14px; }
  #akp-account-system .akp-avatar-preview-wrap,
  #akp-account-system [data-avnt="avatar-preview"] { width:84px; height:84px; }
  #akp-account-system [data-modal-close] { top:13px; left:13px; }
}

@media (max-width:420px) {
  #akp-account-system .akp-booking-top { flex-direction:column; gap:7px; }
  #akp-account-system .akp-profile-avatar-card { display:block; text-align:center; }
  #akp-account-system .akp-avatar-preview-wrap { margin:0 auto 12px; }
}

@media (prefers-reduced-motion:reduce) {
  #akp-account-system .akp-modal,
  #akp-account-system .akp-modal-card,
  #akp-account-system [data-tab-panel],
  #akp-account-system .akp-ai-orb {
    animation:none;
    transition:none;
  }
}

/* =========================================================
   DARK MODE — synced to the site header's own toggle
   (html[data-theme], see header.php). rose-800/700/600 stay unchanged
   where they're used as a solid bg-with-white-text or on-badge accent;
   the four fixed --aka-badge-* pairs above keep those icon circles at
   their exact light-mode colors so lightening rose-950/900 for on-card
   text doesn't wash them out.
   ========================================================= */
html[data-theme="dark"] #akp-account-system {
  --aka-rose-950:#ffd6e3;
  --aka-rose-900:#f5b3ca;
  --aka-rose-800:#f2a3c0;
  --aka-rose-700:#e2789c;
  --aka-rose-300:rgba(226,120,156,.4);
  --aka-rose-200:rgba(226,120,156,.22);
  --aka-rose-100:rgba(226,120,156,.14);
  --aka-white:#2b1e22;
  --aka-bg:#1c1215;
  --aka-text:#fdf3f0;
  --aka-muted:#c9adb3;
  --aka-line:rgba(255,232,224,.14);
  --aka-surface:#2b1e22;
  --aka-green:#5fe0a3;
  --aka-green-bg:rgba(95,224,163,.16);
  --aka-amber:#ffcf6b;
  --aka-amber-bg:rgba(255,207,107,.16);
  --aka-red:#ff96ab;
  --aka-red-bg:rgba(255,150,171,.16);
  --aka-gray:#c9adb3;
  --aka-gray-bg:rgba(255,255,255,.06);
}
html[data-theme="dark"] #akp-account-system .akp-modal-card {
  background:
    radial-gradient(circle at 100% 0%,rgba(226,120,156,.1),transparent 32%),
    rgba(43,30,34,.98);
}
html[data-theme="dark"] #akp-account-system [data-modal-close] { background:rgba(255,255,255,.08); }
html[data-theme="dark"] #akp-account-system .akp-field input:focus,
html[data-theme="dark"] #akp-account-system .akp-field textarea:focus,
html[data-theme="dark"] #akp-account-system .akp-contact-input input:focus { background:#241419; }
html[data-theme="dark"] #akp-account-system .akp-coming-soon { background:rgba(255,255,255,.06); }
html[data-theme="dark"] #akp-account-system .akp-mobile-tabs { background:#150d10; }
