/* =======================================
   Kojo Sushi Customer Dashboard â€“ Profile VOL_NEW
   Mobile-first, iOS/Android friendly, language bottom-sheet modal
   ======================================= */

:root {
  --bg-page: #ffffff;
  --bg-card: #0031ff;
  --bg-card-soft: #151a30;
  --border-soft: rgba(255,255,255,0.06);
  --txt-main: #f4f7ff;
  --txt-soft: #c1cae7;
  --txt-muted: #8f9abc;
  --primary: #60a5ff;
  --primary-strong: #3b82f6;
  --primary-soft: rgba(96,165,255,0.18);
  --ok: #22c55e;
  --warn: #facc15;
  --danger: #ef4444;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 14px 40px rgba(0,0,0,0.7);
  --shadow-chip: 0 6px 18px rgba(15,23,42,0.75);
  --safe-bottom: env(safe-area-inset-bottom, 16px);
  --fs-base: 15px;
  --fs-small: 12px;
  --fs-title: 20px;
}

/* Global */

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  height: 100%;
}

html, body{
  margin: 0;
  min-height: 100%;
  background: #ffffff; /* βάλε το χρώμα που θες */
}
body{ min-height: 100vh; }

body {
  margin: 0;
  background: radial-gradient(900px 600px at 10% 0, #ffffff 0%, transparent 55%), radial-gradient(900px 600px at 100% 0, #ffffff 0%, transparent 55%), var(--bg-page);
  color: var(--txt-main);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.5;
  padding-bottom: calc(96px + var(--safe-bottom));
}

/* ÏŒÏ„Î±Î½ ÎµÎ¯Î½Î±Î¹ Î±Î½Î¿Î¹Ï‡Ï„ÏŒ Ï„Î¿ sheet ÎºÎ»ÎµÎ¹Î´ÏŽÎ½Î¿Ï…Î¼Îµ scroll */
body.lang-sheet-open {
  overflow: hidden;
  touch-action: none;
}

/* Î»Î¯Î³Î¿ blur ÏƒÏ„Î¿ background ÏŒÏ„Î±Î½ sheet ÎµÎ¯Î½Î±Î¹ Î±Î½Î¿Î¹Ï‡Ï„ÏŒ */
body.lang-sheet-open .container.account-card {
  filter: blur(1px) brightness(0.9);
}

/* =======================================
   ÎšÎµÎ½Ï„ÏÎ¹ÎºÎ® ÎºÎ¬ÏÏ„Î±
   ======================================= */

.container.account-card {
  width: min(820px, 94vw);
  margin: 16px auto 0;
  background: radial-gradient(circle at top left, rgba(96,165,255,0.12), transparent 55%), var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

/* Header row (Ï„Î¯Ï„Î»Î¿Ï‚ + account button) */

.account-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px 10px;
  background: linear-gradient(135deg, rgba(15,23,42,0.98), rgba(15,23,42,0.9));
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
}

.account-title-block {
  max-width: 70%;
}

.account-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(255,255,255,0.09);
  font-size: var(--fs-small);
  color: var(--txt-soft);
  margin-bottom: 4px;
}
.account-pill::before {
  content: "\2022";
  font-size: 16px;
  color: #4ade80;
}

#edit-profile-title {
  margin: 0;
  font-size: var(--fs-title);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--txt-main);
}

.account-subtitle {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--txt-soft);
}

/* Account button */

.account-btn {
  border: none;
  border-radius: var(--radius-pill);
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #f9fafb;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: var(--shadow-chip);
  white-space: nowrap;
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.16s ease;
}
.account-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(37,99,235,0.6);
}
.account-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(37,99,235,0.6);
}

@media (max-width: 640px) {
  .account-header-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .account-title-block {
    max-width: 100%;
  }
  .account-btn {
    align-self: flex-end;
  }
}

/* =======================================
   Upload / Î“Î»ÏŽÏƒÏƒÎ± block
   ======================================= */

.upload-header {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 12px;
  padding: 14px 18px 10px;
  background: radial-gradient(circle at 0 0, rgba(96,165,255,0.14), transparent 50%), var(--bg-card-soft);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

@media (max-width: 720px) {
  .upload-header {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Avatar + upload */

.image-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-img {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  object-fit: cover;
  border: 2px solid rgba(148,163,184,0.7);
  background: radial-gradient(circle at 15% 0, rgba(96,165,255,0.35), #020617);
  box-shadow: 0 10px 28px rgba(0,0,0,0.6);
}

.upload-text-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.custom-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  padding: 9px 14px;
  background: linear-gradient(135deg, rgba(156,163,175,0.25), rgba(156,163,175,0.15));
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--txt-main);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.custom-upload-btn::before {
  content: "\2B06";
  font-size: 14px;
}

.custom-upload-btn:hover {
  background: linear-gradient(135deg, rgba(156,163,175,0.35), rgba(156,163,175,0.2));
  transform: translateY(-1px);
  box-shadow: var(--shadow-chip);
}
#image_user {
  display: none;
}

.helper-text {
  margin: 0;
  font-size: 12px;
  color: var(--txt-muted);
}

/* =======================================
   Language trigger & legacy dropdown
   ======================================= */

.language-switcher {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

#lang-label-text {
  font-size: 12px;
  color: var(--txt-soft);
  font-weight: 600;
}

/* ÎÎ­Î¿ trigger (Ï€Î¬Î½Ï‰ Î´ÎµÎ¾Î¹Î¬) */

.lang-trigger {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-pill);
  padding: 7px 12px;
  background: #020617;
  color: var(--txt-main);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 13px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}

.lang-trigger__label {
  font-size: 11px;
  color: var(--txt-muted);
}

.lang-trigger__value {
  font-weight: 700;
}

/* Legacy dropdown â€“ ÎºÏÏ…Ï†ÏŒ, Î¼ÏŒÎ½Î¿ Î³Î¹Î± ÏƒÏ…Î¼Î²Î±Ï„ÏŒÏ„Î·Ï„Î± JS */

.lang-dropdown-legacy {
  display: none;
}

.lang-dropdown-legacy .lang-btn {
  display: none;
}

.lang-dropdown-legacy .lang-options {
  display: none;
}

/* =======================================
   Email status box
   ======================================= */

.email-alert-box {
  width: min(820px, 94vw);
  margin: 12px auto 0;
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  background: #1f2a3e;
  border: 1px solid rgba(250,204,21,0.6);
  color: #fef9c3;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.6);
}

.email-alert-box p {
  margin: 0;
  font-size: 13px;
}

.resubscribe-btn {
  align-self: flex-start;
  border-radius: var(--radius-pill);
  border: none;
  padding: 7px 12px;
  font-size: 13px;
  background: linear-gradient(135deg, #facc15, #eab308);
  color: #422006;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-chip);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.resubscribe-btn::before {
  content: "ðŸ””";
}

.resub-success {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tick-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ok);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tick-mark {
  width: 10px;
  height: 6px;
  border-left: 2px solid #ecfdf5;
  border-bottom: 2px solid #ecfdf5;
  transform: rotate(-45deg);
}
.tick-message {
  font-size: 12px;
}

/* =======================================
   MsgBox â€“ Î½Î± Ï†Î±Î¯Î½ÎµÏ„Î±Î¹ ÎºÎ±Î¸Î±ÏÎ¬ (Ï€.Ï‡. not logged in)
   ======================================= */

#msgBox {
  padding: 8px 18px 0;
  font-size: 13px;
}

/* ÏŒ,Ï„Î¹ Î¼Ï€Î±Î¯Î½ÎµÎ¹ Î¼Î­ÏƒÎ± (p/div) Î½Î± Ï†Î±Î¯Î½ÎµÏ„Î±Î¹ ÏƒÎ±Î½ ÎºÎ¬ÏÏ„Î± */
#msgBox > p,
#msgBox > div,
#msgBox .msg,
#msgBox .notice,
#msgBox .error,
#msgBox .success {
  margin: 0 0 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.85);
  color: #fecaca;
  font-weight: 600;
}

/* Î±Î½ Ï„Î¿ JS Î²Î¬Î»ÎµÎ¹ .success / .notice, Ï‡ÏÏ‰Î¼Î¬Ï„Î¹ÏƒÎµ Î±Î½Î¬Î»Î¿Î³Î± */
#msgBox .success {
  background: rgba(22,163,74,0.16);
  border-color: rgba(22,163,74,0.9);
  color: #bbf7d0;
}
#msgBox .notice {
  background: rgba(250,204,21,0.16);
  border-color: rgba(250,204,21,0.9);
  color: #fef9c3;
}

/* =======================================
   Form sections
   ======================================= */

.form-content {
  padding: 10px 18px 120px; /* extra Ï‡ÏŽÏÎ¿ Î³Î¹Î± fixed SAVE */
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-section {
  padding: 12px 12px 14px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(15,23,42,0.9), rgba(15,23,42,0.92));
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 8px 22px rgba(0,0,0,0.65);
}

.section-title {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 700;
  color: var(--txt-main);
}
.section-subtitle {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--txt-muted);
}

/* Î ÎµÎ´Î¯Î¿ */

.field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.field-group:first-of-type {
  margin-top: 4px;
}

.form-content label {
  font-size: 12px;
  color: var(--txt-soft);
  font-weight: 600;
}

.form-content input[type="text"],
.form-content input[type="email"],
.form-content input[type="password"],
.form-content input[type="date"] {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,0.6);
  padding: 10px 13px;
  background: #020617;
  color: var(--txt-main);
  font-size: 16px; /* Î³Î¹Î± iOS no-zoom */
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.form-content input::placeholder {
  color: rgba(148,163,184,0.8);
}
.form-content input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(96,165,255,0.2);
  background: #020617;
}

.form-content input[type="date"] {
  color-scheme: dark;
}

/* Password section */

.password-section {
  margin-top: 6px;
  padding: 10px 10px 12px;
  border-radius: 16px;
  background: radial-gradient(circle at 0 0, rgba(96,165,255,0.22), rgba(15,23,42,0.98));
  border: 1px solid rgba(96,165,255,0.5);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.password-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--txt-muted);
}

#password-last-change-value {
  font-weight: 600;
  color: var(--txt-main);
}

.password-hint {
  margin: 2px 0 0;
  font-size: 11px;
  color: var(--txt-muted);
}

/* =======================================
   SAVE button â€“ Î Î‘ÎÎ¤Î‘ Î¿ÏÎ±Ï„ÏŒ Ï€Î¬Î½Ï‰ Î±Ï€ÏŒ bottom nav
   ======================================= */

#save-button {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(60px + var(--safe-bottom)); /* Î±Î½ bottom-nav ÎµÎ¯Î½Î±Î¹ Ï€Î¹Î¿ ÏˆÎ·Î»ÏŒ, Î±ÏÎ¾Î·ÏƒÎµ */
  width: min(320px, 94vw);
  margin: 0 auto;
  border: none;
  border-radius: var(--radius-pill);
  padding: 2px 2px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--ok), #16a34a);
  color: #ecfdf5;
  box-shadow: 0 20px 40px rgba(22,163,74,0.75);
  cursor: pointer;
  z-index: 4500;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}
#save-button:hover {
  filter: brightness(1.05);
  transform: translateX(-50%) translateY(-1px);
  box-shadow: 0 24px 52px rgba(22,163,74,0.9);
}
#save-button:active {
  transform: translateX(-50%) translateY(0);
  box-shadow: 0 14px 32px rgba(22,163,74,0.8);
}

/* ÏŒÏ„Î±Î½ ÎµÎ¯Î½Î±Î¹ open Ï„Î¿ language sheet, ÎºÏÏÏˆÎµ SAVE Ï„ÎµÎ»ÎµÎ¯Ï‰Ï‚ */
body.lang-sheet-open #save-button {
  display: none;
}

/* Loading state Î±Î½ Ï„Î¿ Î²Î¬Î¶ÎµÎ¹ JS (btn--loading) */

#save-button.btn--loading {
  opacity: 0.92;
  pointer-events: none;
}
#save-button.btn--loading::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #ecfdf5;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: translateY(-50%) rotate(360deg); }
}

/* =======================================
   Account modal
   ======================================= */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.75);
  align-items: center;
  justify-content: center;
  z-index: 9000;
  padding: 16px;
}

.modal.show {
  display: flex;
}

.modal-body {
  background: #020617;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 18px 50px rgba(0,0,0,0.7);
  width: min(520px, 94vw);
  max-height: 80vh;
  padding: 16px;
  color: var(--txt-main);
  position: relative;
}

.close-modal {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
}

/* =======================================
   Toast host (Î±Î½ Ï‡ÏÎ·ÏƒÎ¹Î¼Î¿Ï€Î¿Î¹ÎµÎ¯Ï„Î±Î¹)
   ======================================= */

#toast-host {
  position: fixed;
  left: 50%;
  bottom: calc(12px + var(--safe-bottom));
  transform: translateX(-50%);
  z-index: 12000;
  display: grid;
  gap: 8px;
  width: min(92vw, 520px);
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  padding: 10px 14px;
  border-radius: 14px;
  background: #020617;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 14px 40px rgba(0,0,0,0.8);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  animation: toast-in 0.2s ease-out;
}
.toast--ok {
  border-color: rgba(22,163,74,0.9);
}
.toast--warn {
  border-color: rgba(234,179,8,0.9);
}
.toast--err {
  border-color: rgba(239,68,68,0.9);
}
.toast.is-leaving {
  animation: toast-out 0.25s ease-in forwards;
}

@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
@keyframes toast-out {
  to   { opacity: 0; transform: translate(-50%, 8px); }
}

/* =======================================
   Bottom-sheet Î³Î¹Î± Î³Î»ÏŽÏƒÏƒÎ± â€“ iOS style modal
   ======================================= */

.lang-sheet {
  position: fixed;
  inset: 0;
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 22000; /* Ï€Î¬Î½Ï‰ Î±Ï€ÏŒ SAVE & bottom-nav */
}

.lang-sheet--open {
  display: flex;
}

.lang-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.72);
}

.lang-sheet__panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border-radius: 20px 20px 0 0;
  background: #020617;
  border-top: 1px solid rgba(148,163,184,0.7);
  box-shadow: 0 -14px 40px rgba(0,0,0,0.85);
  padding: 10px 14px 14px;
  transform: translateY(100%);
  animation: sheet-slide-down 0.24s ease-out forwards;
}

/* ÏŒÏ„Î±Î½ Î±Î½Î¿Î¯Î³ÎµÎ¹ */
.lang-sheet--open .lang-sheet__panel {
  animation-name: sheet-slide-up;
}

@keyframes sheet-slide-up {
  from { transform: translateY(100%); }
  to   { transform: translateY(0%); }
}
@keyframes sheet-slide-down {
  from { transform: translateY(0%); }
  to   { transform: translateY(100%); }
}

.lang-sheet__handle {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: rgba(148,163,184,0.8);
  margin: 0 auto 10px;
  cursor: pointer;
}

.lang-sheet__header h3 {
  margin: 0;
  font-size: 15px;
  color: #f9fafb;
}

.lang-sheet__header p {
  margin: 2px 0 8px;
  font-size: 12px;
  color: #9ca3af;
}

/* Î›Î¯ÏƒÏ„Î± Î³Î»Ï‰ÏƒÏƒÏŽÎ½ */

.lang-sheet__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lang-sheet__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
  position: relative;
}

.lang-sheet__item:hover {
  background: rgba(96,165,255,0.18);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15,23,42,0.8);
}

.lang-sheet__flag {
  font-size: 20px;
}

.lang-sheet__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lang-sheet__name {
  font-size: 13px;
  color: #e5e7eb;
  font-weight: 600;
}

.lang-sheet__hint {
  font-size: 11px;
  color: #9ca3af;
}

/* Badge Î³Î¹Î± Ï„ÏÎ­Ï‡Î¿Ï…ÏƒÎ± Î³Î»ÏŽÏƒÏƒÎ± */

.lang-sheet__current-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(34,197,94,0.12);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.55);
  display: none; /* Î±Î½Î¿Î¯Î³ÎµÎ¹ Î¼ÏŒÎ½Î¿ Î³Î¹Î± active */
}

/* Active Î³ÏÎ±Î¼Î¼Î® â€“ Î¬Î»Î»Î¿ Ï‡ÏÏŽÎ¼Î± */

.lang-sheet__item.is-active {
  background: rgba(34,197,94,0.1);
  box-shadow: 0 8px 20px rgba(22,163,74,0.5);
}

.lang-sheet__item.is-active .lang-sheet__name {
  color: #bbf7d0;
}

/* =======================================
   Mobile tweaks
   ======================================= */

@media (max-width: 480px) {
  .container.account-card {
    margin-top: 10px;
    border-radius: 20px;
  }
  .upload-header {
    padding-inline: 14px;
  }
  .form-section {
    padding-inline: 10px;
  }
}



/* =======================================
   Account panel ÏƒÏ„Î¿ modal "My account"
   ======================================= */

.account-panel {
  background: #020617;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.5);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.account-panel--secondary {
  border-color: rgba(148,163,184,0.3);
  background: #020617;
}

.account-panel__header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-panel__avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, rgba(96,165,255,0.5), #020617);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.8);
}

.account-panel__titles {
  flex: 1;
}

.account-panel__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #e5e7eb;
}

.account-panel__subtitle {
  margin: 2px 0 0;
  font-size: 12px;
  color: #9ca3af;
}

.account-panel__hint {
  font-size: 11px;
  color: #9ca3af;
}

/* Buttons */

.account-panel__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.account-panel-btn {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 600;
  background: #020617;
  color: #e5e7eb;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.12s ease, transform 0.1s ease, box-shadow 0.12s ease;
}

.account-panel-btn:hover {
  background: #020818;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.75);
}

.account-panel-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0,0,0,0.7);
}

.account-panel-btn--primary {
  background: linear-gradient(135deg, #60a5ff, #3b82f6);
  border-color: transparent;
  color: #f9fafb;
}

.account-panel-btn--logout {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-color: transparent;
  color: #ecfdf5;
}

.account-panel-btn--danger {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  border-color: transparent;
  color: #fee2e2;
}

/* =======================================
   Logout success screen
   ======================================= */

.logout-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 18px 10px;
}

.logout-success__icon {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #22c55e, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: #ecfdf5;
  box-shadow: 0 14px 30px rgba(22,163,74,0.8);
  animation: logout-pop 0.3s ease-out;
}

.logout-success__title {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: #fef2f2;
}

.logout-success__message {
  margin: 4px 0 0;
  font-size: 13px;
  color: #fecaca;
}

.logout-success__highlight {
  display: block;
  font-weight: 800;
  color: #f87171; /* ÎºÏŒÎºÎºÎ¹Î½Î¿, ÏŒÏ€Ï‰Ï‚ Î¶Î®Ï„Î·ÏƒÎµÏ‚ */
}

@keyframes logout-pop {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}






/* =======================================
   Kojo Sushi Customer Dashboard â€“ Profile VOL_NEW
   Mobile-first, iOS/Android friendly, language bottom-sheet modal
   ======================================= */

:root {
  --bg-page: #ffffff;
  --bg-card: #3d3d3d;
  --bg-card-soft: #ffffff;
  --border-soft: rgba(255,255,255,0.06);
  --txt-main: #f4f7ff;
  --txt-soft: #c1cae7;
  --txt-muted: #8f9abc;
  --primary: #60a5ff;
  --primary-strong: #3b82f6;
  --primary-soft: rgba(96,165,255,0.18);
  --ok: #22c55e;
  --warn: #facc15;
  --danger: #ef4444;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 14px 40px rgb(255 255 255 / 70%);
  --shadow-chip: 0 6px 18px rgb(0 56 190 / 75%);
  --safe-bottom: env(safe-area-inset-bottom, 16px);
  --fs-base: 15px;
  --fs-small: 12px;
  --fs-title: 20px;
}

/* Global */

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: #9d9d9d00;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: radial-gradient(900px 600px at 10% 0, #ffffff 0%, transparent 55%), radial-gradient(900px 600px at 100% 0, #ffffff 0%, transparent 55%), var(--bg-page);
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.5;
  padding-bottom: calc(96px + var(--safe-bottom));
}

/* ÏŒÏ„Î±Î½ ÎµÎ¯Î½Î±Î¹ Î±Î½Î¿Î¹Ï‡Ï„ÏŒ Ï„Î¿ sheet ÎºÎ»ÎµÎ¹Î´ÏŽÎ½Î¿Ï…Î¼Îµ scroll */
body.lang-sheet-open {
  overflow: hidden;
  touch-action: none;
}

/* Î»Î¯Î³Î¿ blur ÏƒÏ„Î¿ background ÏŒÏ„Î±Î½ sheet ÎµÎ¯Î½Î±Î¹ Î±Î½Î¿Î¹Ï‡Ï„ÏŒ */
body.lang-sheet-open .container.account-card {
  filter: blur(1px) brightness(0.9);
}

/* =======================================
   ÎšÎµÎ½Ï„ÏÎ¹ÎºÎ® ÎºÎ¬ÏÏ„Î±
   ======================================= */

.container.account-card {
  width: min(820px, 94vw);
  margin: 16px auto 0;
  background: radial-gradient(circle at top left, rgba(96,165,255,0.12), transparent 55%), var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

/* Header row (Ï„Î¯Ï„Î»Î¿Ï‚ + account button) */

.account-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px 10px;
  background: linear-gradient(135deg, rgba(15,23,42,0.98), rgba(15,23,42,0.9));
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
}

.account-title-block {
  max-width: 70%;
}

.account-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(255,255,255,0.09);
  font-size: var(--fs-small);
  color: var(--txt-soft);
  margin-bottom: 4px;
}
.account-pill::before {
  content: "\2022";
  font-size: 16px;
  color: #4ade80;
}

#edit-profile-title {
  margin: 0;
  font-size: var(--fs-title);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--txt-main);
}

.account-subtitle {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--txt-soft);
}

/* Account button */

.account-btn {
  border: none;
  border-radius: var(--radius-pill);
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #f9fafb;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: var(--shadow-chip);
  white-space: nowrap;
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.16s ease;
}
.account-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(37,99,235,0.6);
}
.account-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(37,99,235,0.6);
}

@media (max-width: 640px) {
  .account-header-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .account-title-block {
    max-width: 100%;
  }
  .account-btn {
    align-self: flex-end;
  }
}

/* =======================================
   Upload / Î“Î»ÏŽÏƒÏƒÎ± block
   ======================================= */

.upload-header {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 12px;
  padding: 14px 18px 10px;
  background: radial-gradient(circle at 0 0, rgba(96, 165, 255, 0.14), transparent 50%), #88000042;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

@media (max-width: 720px) {
  .upload-header {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Avatar + upload */

.image-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-img {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  object-fit: cover;
  border: 2px solid rgba(148,163,184,0.7);
  background: radial-gradient(circle at 15% 0, rgba(96,165,255,0.35), #020617);
  box-shadow: 0 10px 28px rgba(0,0,0,0.6);
}

.upload-text-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.custom-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  padding: 9px 14px;
  background: linear-gradient(135deg, rgba(156,163,175,0.25), rgba(156,163,175,0.15));
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--txt-main);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.custom-upload-btn::before {
  content: "\2B06";
  font-size: 14px;
}

.custom-upload-btn:hover {
  background: linear-gradient(135deg, rgba(156,163,175,0.35), rgba(156,163,175,0.2));
  transform: translateY(-1px);
  box-shadow: var(--shadow-chip);
}
#image_user {
  display: none;
}

.helper-text {
  margin: 0;
  font-size: 12px;
  color: var(--txt-muted);
}

/* =======================================
   Language trigger & legacy dropdown
   ======================================= */

.language-switcher {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

#lang-label-text {
  font-size: 12px;
  color: var(--txt-soft);
  font-weight: 600;
}

/* ÎÎ­Î¿ trigger (Ï€Î¬Î½Ï‰ Î´ÎµÎ¾Î¹Î¬) */

.lang-trigger {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-pill);
  padding: 7px 12px;
  background: #020617;
  color: var(--txt-main);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 13px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}

.lang-trigger__label {
  font-size: 11px;
  color: var(--txt-muted);
}

.lang-trigger__value {
  font-weight: 700;
}

/* Legacy dropdown â€“ ÎºÏÏ…Ï†ÏŒ, Î¼ÏŒÎ½Î¿ Î³Î¹Î± ÏƒÏ…Î¼Î²Î±Ï„ÏŒÏ„Î·Ï„Î± JS */

.lang-dropdown-legacy {
  display: none;
}

.lang-dropdown-legacy .lang-btn {
  display: none;
}

.lang-dropdown-legacy .lang-options {
  display: none;
}

/* =======================================
   Email status box
   ======================================= */

.email-alert-box {
  width: min(820px, 94vw);
  margin: 12px auto 0;
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  background: #1f2a3e;
  border: 1px solid rgba(250,204,21,0.6);
  color: #fef9c3;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.6);
}

.email-alert-box p {
  margin: 0;
  font-size: 13px;
}

.resubscribe-btn {
  align-self: flex-start;
  border-radius: var(--radius-pill);
  border: none;
  padding: 7px 12px;
  font-size: 13px;
  background: linear-gradient(135deg, #facc15, #eab308);
  color: #422006;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-chip);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.resubscribe-btn::before {
  content: "ðŸ””";
}

.resub-success {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tick-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ok);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tick-mark {
  width: 10px;
  height: 6px;
  border-left: 2px solid #ecfdf5;
  border-bottom: 2px solid #ecfdf5;
  transform: rotate(-45deg);
}
.tick-message {
  font-size: 12px;
}

/* =======================================
   MsgBox â€“ Î½Î± Ï†Î±Î¯Î½ÎµÏ„Î±Î¹ ÎºÎ±Î¸Î±ÏÎ¬ (Ï€.Ï‡. not logged in)
   ======================================= */

#msgBox {
  padding: 8px 18px 0;
  font-size: 13px;
}

/* ÏŒ,Ï„Î¹ Î¼Ï€Î±Î¯Î½ÎµÎ¹ Î¼Î­ÏƒÎ± (p/div) Î½Î± Ï†Î±Î¯Î½ÎµÏ„Î±Î¹ ÏƒÎ±Î½ ÎºÎ¬ÏÏ„Î± */
#msgBox > p,
#msgBox > div,
#msgBox .msg,
#msgBox .notice,
#msgBox .error,
#msgBox .success {
  margin: 0 0 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.85);
  color: #fecaca;
  font-weight: 600;
}

/* Î±Î½ Ï„Î¿ JS Î²Î¬Î»ÎµÎ¹ .success / .notice, Ï‡ÏÏ‰Î¼Î¬Ï„Î¹ÏƒÎµ Î±Î½Î¬Î»Î¿Î³Î± */
#msgBox .success {
  background: rgba(22,163,74,0.16);
  border-color: rgba(22,163,74,0.9);
  color: #bbf7d0;
}
#msgBox .notice {
  background: rgba(250,204,21,0.16);
  border-color: rgba(250,204,21,0.9);
  color: #fef9c3;
}

/* =======================================
   Form sections
   ======================================= */

.form-content {
  padding: 10px 18px 120px; /* extra Ï‡ÏŽÏÎ¿ Î³Î¹Î± fixed SAVE */
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-section {
  padding: 12px 12px 14px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(15,23,42,0.9), rgba(15,23,42,0.92));
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 8px 22px rgba(0,0,0,0.65);
}

.section-title {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 700;
  color: var(--txt-main);
}
.section-subtitle {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--txt-muted);
}

/* Î ÎµÎ´Î¯Î¿ */

.field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.field-group:first-of-type {
  margin-top: 4px;
}

.form-content label {
  font-size: 12px;
  color: var(--txt-soft);
  font-weight: 600;
}

.form-content input[type="text"],
.form-content input[type="email"],
.form-content input[type="password"],
.form-content input[type="date"] {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,0.6);
  padding: 10px 13px;
  background: #020617;
  color: var(--txt-main);
  font-size: 16px; /* Î³Î¹Î± iOS no-zoom */
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.form-content input::placeholder {
  color: rgba(148,163,184,0.8);
}
.form-content input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(96,165,255,0.2);
  background: #020617;
}

.form-content input[type="date"] {
  color-scheme: dark;
}

/* Password section */

.password-section {
  margin-top: 6px;
  padding: 10px 10px 12px;
  border-radius: 16px;
  background: radial-gradient(circle at 0 0, rgba(96,165,255,0.22), rgba(15,23,42,0.98));
  border: 1px solid rgba(96,165,255,0.5);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.password-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--txt-muted);
}

#password-last-change-value {
  font-weight: 600;
  color: var(--txt-main);
}

.password-hint {
  margin: 2px 0 0;
  font-size: 11px;
  color: var(--txt-muted);
}

/* =======================================
   SAVE button â€“ Î Î‘ÎÎ¤Î‘ Î¿ÏÎ±Ï„ÏŒ Ï€Î¬Î½Ï‰ Î±Ï€ÏŒ bottom nav
   ======================================= */

#save-button {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(60px + var(--safe-bottom)); /* Î±Î½ bottom-nav ÎµÎ¯Î½Î±Î¹ Ï€Î¹Î¿ ÏˆÎ·Î»ÏŒ, Î±ÏÎ¾Î·ÏƒÎµ */
  width: min(320px, 94vw);
  margin: 0 auto;
  border: none;
  border-radius: var(--radius-pill);
  padding: 2px 2px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--ok), #16a34a);
  color: #ecfdf5;
  box-shadow: 0 20px 40px rgba(22,163,74,0.75);
  cursor: pointer;
  z-index: 4500;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}
#save-button:hover {
  filter: brightness(1.05);
  transform: translateX(-50%) translateY(-1px);
  box-shadow: 0 24px 52px rgba(22,163,74,0.9);
}
#save-button:active {
  transform: translateX(-50%) translateY(0);
  box-shadow: 0 14px 32px rgba(22,163,74,0.8);
}

/* ÏŒÏ„Î±Î½ ÎµÎ¯Î½Î±Î¹ open Ï„Î¿ language sheet, ÎºÏÏÏˆÎµ SAVE Ï„ÎµÎ»ÎµÎ¯Ï‰Ï‚ */
body.lang-sheet-open #save-button {
  display: none;
}

/* Loading state Î±Î½ Ï„Î¿ Î²Î¬Î¶ÎµÎ¹ JS (btn--loading) */

#save-button.btn--loading {
  opacity: 0.92;
  pointer-events: none;
}
#save-button.btn--loading::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #ecfdf5;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: translateY(-50%) rotate(360deg); }
}

/* =======================================
   Account modal
   ======================================= */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.75);
  align-items: center;
  justify-content: center;
  z-index: 9000;
  padding: 16px;
}

.modal.show {
  display: flex;
}

.modal-body {
  background: #020617;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 18px 50px rgba(0,0,0,0.7);
  width: min(520px, 94vw);
  max-height: 80vh;
  padding: 16px;
  color: var(--txt-main);
  position: relative;
}

.close-modal {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
}

/* =======================================
   Toast host (Î±Î½ Ï‡ÏÎ·ÏƒÎ¹Î¼Î¿Ï€Î¿Î¹ÎµÎ¯Ï„Î±Î¹)
   ======================================= */

#toast-host {
  position: fixed;
  left: 50%;
  bottom: calc(12px + var(--safe-bottom));
  transform: translateX(-50%);
  z-index: 12000;
  display: grid;
  gap: 8px;
  width: min(92vw, 520px);
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  padding: 10px 14px;
  border-radius: 14px;
  background: #020617;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 14px 40px rgba(0,0,0,0.8);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  animation: toast-in 0.2s ease-out;
}
.toast--ok {
  border-color: rgba(22,163,74,0.9);
}
.toast--warn {
  border-color: rgba(234,179,8,0.9);
}
.toast--err {
  border-color: rgba(239,68,68,0.9);
}
.toast.is-leaving {
  animation: toast-out 0.25s ease-in forwards;
}

@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
@keyframes toast-out {
  to   { opacity: 0; transform: translate(-50%, 8px); }
}

/* =======================================
   Bottom-sheet Î³Î¹Î± Î³Î»ÏŽÏƒÏƒÎ± â€“ iOS style modal
   ======================================= */

.lang-sheet {
  position: fixed;
  inset: 0;
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 22000; /* Ï€Î¬Î½Ï‰ Î±Ï€ÏŒ SAVE & bottom-nav */
}

.lang-sheet--open {
  display: flex;
}

.lang-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.72);
}

.lang-sheet__panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border-radius: 20px 20px 0 0;
  background: #020617;
  border-top: 1px solid rgba(148,163,184,0.7);
  box-shadow: 0 -14px 40px rgba(0,0,0,0.85);
  padding: 10px 14px 14px;
  transform: translateY(100%);
  animation: sheet-slide-down 0.24s ease-out forwards;
}

/* ÏŒÏ„Î±Î½ Î±Î½Î¿Î¯Î³ÎµÎ¹ */
.lang-sheet--open .lang-sheet__panel {
  animation-name: sheet-slide-up;
}

@keyframes sheet-slide-up {
  from { transform: translateY(100%); }
  to   { transform: translateY(0%); }
}
@keyframes sheet-slide-down {
  from { transform: translateY(0%); }
  to   { transform: translateY(100%); }
}

.lang-sheet__handle {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: rgba(148,163,184,0.8);
  margin: 0 auto 10px;
  cursor: pointer;
}

.lang-sheet__header h3 {
  margin: 0;
  font-size: 15px;
  color: #f9fafb;
}

.lang-sheet__header p {
  margin: 2px 0 8px;
  font-size: 12px;
  color: #9ca3af;
}

/* Î›Î¯ÏƒÏ„Î± Î³Î»Ï‰ÏƒÏƒÏŽÎ½ */

.lang-sheet__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lang-sheet__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
  position: relative;
}

.lang-sheet__item:hover {
  background: rgba(96,165,255,0.18);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15,23,42,0.8);
}

.lang-sheet__flag {
  font-size: 20px;
}

.lang-sheet__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lang-sheet__name {
  font-size: 13px;
  color: #e5e7eb;
  font-weight: 600;
}

.lang-sheet__hint {
  font-size: 11px;
  color: #9ca3af;
}

/* Badge Î³Î¹Î± Ï„ÏÎ­Ï‡Î¿Ï…ÏƒÎ± Î³Î»ÏŽÏƒÏƒÎ± */

.lang-sheet__current-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(34,197,94,0.12);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.55);
  display: none; /* Î±Î½Î¿Î¯Î³ÎµÎ¹ Î¼ÏŒÎ½Î¿ Î³Î¹Î± active */
}

/* Active Î³ÏÎ±Î¼Î¼Î® â€“ Î¬Î»Î»Î¿ Ï‡ÏÏŽÎ¼Î± */

.lang-sheet__item.is-active {
  background: rgba(34,197,94,0.1);
  box-shadow: 0 8px 20px rgba(22,163,74,0.5);
}

.lang-sheet__item.is-active .lang-sheet__name {
  color: #bbf7d0;
}

/* =======================================
   Mobile tweaks
   ======================================= */

@media (max-width: 480px) {
  .container.account-card {
    margin-top: 10px;
    border-radius: 20px;
  }
  .upload-header {
    padding-inline: 14px;
  }
  .form-section {
    padding-inline: 10px;
  }
}



/* =======================================
   Account panel ÏƒÏ„Î¿ modal "My account"
   ======================================= */

.account-panel {
  background: #020617;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.5);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.account-panel--secondary {
  border-color: rgba(148,163,184,0.3);
  background: #020617;
}

.account-panel__header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-panel__avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, rgba(96,165,255,0.5), #020617);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.8);
}

.account-panel__titles {
  flex: 1;
}

.account-panel__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #e5e7eb;
}

.account-panel__subtitle {
  margin: 2px 0 0;
  font-size: 12px;
  color: #9ca3af;
}

.account-panel__hint {
  font-size: 11px;
  color: #9ca3af;
}

/* Buttons */

.account-panel__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.account-panel-btn {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 600;
  background: #020617;
  color: #e5e7eb;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.12s ease, transform 0.1s ease, box-shadow 0.12s ease;
}

.account-panel-btn:hover {
  background: #020818;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.75);
}

.account-panel-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0,0,0,0.7);
}

.account-panel-btn--primary {
  background: linear-gradient(135deg, #60a5ff, #3b82f6);
  border-color: transparent;
  color: #f9fafb;
}

.account-panel-btn--logout {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-color: transparent;
  color: #ecfdf5;
}

.account-panel-btn--danger {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  border-color: transparent;
  color: #fee2e2;
}

/* =======================================
   Logout success screen
   ======================================= */

.logout-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 18px 10px;
}

.logout-success__icon {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #22c55e, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: #ecfdf5;
  box-shadow: 0 14px 30px rgba(22,163,74,0.8);
  animation: logout-pop 0.3s ease-out;
}

.logout-success__title {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: #fef2f2;
}

.logout-success__message {
  margin: 4px 0 0;
  font-size: 13px;
  color: #fecaca;
}

.logout-success__highlight {
  display: block;
  font-weight: 800;
  color: #f87171; /* ÎºÏŒÎºÎºÎ¹Î½Î¿, ÏŒÏ€Ï‰Ï‚ Î¶Î®Ï„Î·ÏƒÎµÏ‚ */
}

@keyframes logout-pop {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===== Profile progress ===== */
.progress-wrap{
  margin: 14px 0 18px;
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(8px);
}

.progress{
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  overflow: hidden;
}

.progress__fill{
  height: 100%;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 18px rgba(34,197,94,.25);
  transition: width .35s ease;
}

.progress__label{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content: space-between;
  margin-top: 10px;
  font-weight: 700;
}

#profile-progress-text{
  display:inline-flex;
  align-items:center;
  gap:10px;
}

#profile-progress-text::before{
  content:"";
  width:10px;
  height:10px;
  border-radius:50%;
  background:#22c55e;
  box-shadow:0 0 16px rgba(34,197,94,.35);
}

#profile-progress-hint{
  opacity:.75;
  font-weight:600;
  font-size: 12px;
}

/* ===== Field tick styling ===== */
.field{
  position: relative;
  display:block;
}

.field > input,
.field > textarea,
.field > select{
  padding-right: 44px !important;
}

.field .tick{
  position:absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  opacity: .35;
}

.field.is-filled .tick{
  opacity: 1;
  border-color: rgba(34,197,94,.45);
  background: rgba(34,197,94,.18);
  box-shadow: 0 0 16px rgba(34,197,94,.22);
}

.field.is-filled .tick::after{
  content: "✓";
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 14px;
  font-weight: 900;
}