/* ============================================================
   my_account.css
   Styles for: overview, settings panel, address form
   Extends the existing CSS variable system (--bg, --text,
   --major-link, --minor-link, --shadow, --thin-shadow etc.)
   ============================================================ */

/* ──────────────────────────────────────────────────────────────
   OVERVIEW
   ────────────────────────────────────────────────────────────── */

/* Greeting bar */
.ov-greeting {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.ov-greeting__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--major-link, #0096FF);
  display: block;
  margin-bottom: 0.25rem;
}

.ov-greeting__email {
  font-family: 'Quantico-Regular', sans-serif;
  font-size: 1.75rem;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}

.ov-greeting__time {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}

.ov-clock__time {
  font-family: 'Quantico-Bold', monospace;
  font-size: 1.5rem;
  color: var(--major-link, #0096FF);
  line-height: 1;
}

.ov-clock__date {
  font-size: 0.72rem;
  color: var(--text);
  opacity: 0.6;
  margin-top: 0.15rem;
  text-align: right;
}

/* Profile complete badge */
.ov-complete-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 179, 104, 0.1);
  border: 1px solid rgba(0, 179, 104, 0.3);
  border-radius: 999px;
  color: #00b368;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

/* Onboarding card */
.ov-onboard {
  backdrop-filter: blur(1px) saturate(72%);
  -webkit-backdrop-filter: blur(1px) saturate(72%);
  background-color: rgba(17, 25, 40, 0.29);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.125);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.5rem;
  cursor: pointer;
  transition: border-color 0.2s;
}

.ov-onboard:hover {
  border-color: var(--major-link, #0096FF);
}

.ov-onboard__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.875rem;
  gap: 1rem;
}

.ov-onboard__title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ov-onboard__icon {
  font-size: 1.25rem;
  color: var(--major-link, #0096FF);
}

.ov-onboard__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.ov-onboard__sub {
  font-size: 0.72rem;
  color: var(--text);
  opacity: 0.6;
  margin-top: 0.1rem;
}

.ov-onboard__pct {
  font-family: 'Quantico-Bold', monospace;
  font-size: 1.5rem;
  color: var(--major-link, #0096FF);
  flex-shrink: 0;
}

/* Progress bar */
.ov-progress-track {
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.ov-progress-fill {
  height: 100%;
  background: var(--major-link, #0096FF);
  border-radius: 999px;
  transition: width 0.6s ease;
}

/* Steps list */
.ov-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ov-step {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 0.84rem;
  cursor: default;
  transition: background 0.15s;
}

.ov-step--todo {
  cursor: pointer;
  background: rgba(0, 150, 255, 0.06);
  border: 1px solid rgba(0, 150, 255, 0.15);
}

.ov-step--todo:hover {
  background: rgba(0, 150, 255, 0.12);
}

.ov-step--done {
  opacity: 0.5;
}

.ov-step__check {
  font-size: 0.82rem;
  color: var(--major-link, #0096FF);
  flex-shrink: 0;
  font-family: 'Quantico-Regular', monospace;
}

.ov-step--done .ov-step__check {
  color: #00b368;
}

.ov-step__label {
  flex: 1;
  color: var(--text);
}

.ov-step__arrow {
  font-size: 0.82rem;
  color: var(--major-link, #0096FF);
  flex-shrink: 0;
}

/* Activity strips */
.ov-strips {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ov-strip {
  backdrop-filter: blur(1px) saturate(72%);
  -webkit-backdrop-filter: blur(1px) saturate(72%);
  background-color: rgba(17, 25, 40, 0.19);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.125);
  overflow: hidden;
}

.ov-strip__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 25, 40, 0.1);
}

.ov-strip__icon { font-size: 1rem; }

.ov-strip__title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--major-link, #0096FF);
  flex: 1;
  font-family: 'Quantico-Regular', sans-serif;
}

.ov-strip__link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--major-link, #0096FF);
  text-decoration: none;
  background: transparent;
  padding: 0;
  margin: 0;
  border: none;
}

.ov-strip__link:hover {
  background: transparent;
  opacity: 0.75;
}

.ov-strip__items {
  display: flex;
  flex-direction: column;
}

.ov-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: background 0.12s;
}

.ov-item:last-child { border-bottom: none; }

.ov-item:hover {
  background: rgba(0, 150, 255, 0.06);
}

.ov-item__main {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}

.ov-item__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ov-item__meta {
  font-size: 0.72rem;
  color: var(--text);
  opacity: 0.55;
}

.ov-item__badges {
  display: flex;
  gap: 0.35rem;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Badges */
.ov-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2em 0.55em;
  border-radius: 999px;
  white-space: nowrap;
}

.ov-badge--blue   { background: rgba(0,150,255,0.12); color: #0096FF; border: 1px solid rgba(0,150,255,0.25); }
.ov-badge--green  { background: rgba(0,179,104,0.12); color: #00b368; border: 1px solid rgba(0,179,104,0.25); }
.ov-badge--amber  { background: rgba(217,119,6,0.12); color: #d97706; border: 1px solid rgba(217,119,6,0.25); }
.ov-badge--red    { background: rgba(185,28,28,0.1);  color: #b91c1c; border: 1px solid rgba(185,28,28,0.2); }
.ov-badge--muted  { background: rgba(255,255,255,0.06); color: var(--text); opacity: 0.6; border: 1px solid rgba(255,255,255,0.1); }

/* Empty state */
.ov-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  backdrop-filter: blur(1px) saturate(72%);
  -webkit-backdrop-filter: blur(1px) saturate(72%);
  background-color: rgba(17, 25, 40, 0.19);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.125);
}

.ov-empty__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.35rem;
}

.ov-empty__sub {
  font-size: 0.82rem;
  color: var(--text);
  opacity: 0.55;
  margin: 0 0 1.25rem;
}

.ov-empty__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1.25rem;
  background: var(--major-link, #0096FF);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Quantico-Regular', sans-serif;
  transition: opacity 0.15s;
}
.ov-empty__btn:hover { opacity: 0.85; background: var(--major-link, #0096FF); color: #fff; }


/* ──────────────────────────────────────────────────────────────
   SETTINGS
   ────────────────────────────────────────────────────────────── */

.stg-group {
  margin-bottom: 1.75rem;
}

.stg-group__label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--major-link, #0096FF);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Quantico-Regular', sans-serif;
}

.stg-group__label--danger { color: #b91c1c; }

.stg-coming-soon {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.15em 0.5em;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  opacity: 0.5;
  border: 1px dashed rgba(255,255,255,0.15);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stg-card {
  backdrop-filter: blur(1px) saturate(72%);
  -webkit-backdrop-filter: blur(1px) saturate(72%);
  background-color: rgba(17, 25, 40, 0.19);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.125);
  overflow: hidden;
}

.stg-card--muted {
  opacity: 0.65;
  pointer-events: none;
}

.stg-card--danger {
  border-color: rgba(185, 28, 28, 0.3);
  background-color: rgba(185, 28, 28, 0.06);
}

.stg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.stg-row--disabled { cursor: not-allowed; }

.stg-row__info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.stg-row__title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.stg-row__sub {
  font-size: 0.75rem;
  color: var(--text);
  opacity: 0.55;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Badges */
.stg-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2em 0.55em;
  border-radius: 999px;
}

.stg-badge--green { background: rgba(0,179,104,0.12); color: #00b368; }
.stg-badge--amber { background: rgba(217,119,6,0.12); color: #d97706; }

/* Action buttons */
.stg-action {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 7px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: 'Quantico-Regular', sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.15s;
  border: none;
}

.stg-action--primary {
  background: var(--major-link, #0096FF);
  color: #fff;
}
.stg-action--primary:hover { opacity: 0.85; background: var(--major-link, #0096FF); color: #fff; }

.stg-action--ghost {
  background: transparent;
  color: var(--major-link, #0096FF);
  border: 1.5px solid rgba(0, 150, 255, 0.3);
}
.stg-action--ghost:hover {
  background: rgba(0, 150, 255, 0.08);
  border-color: var(--major-link, #0096FF);
  color: var(--major-link, #0096FF);
}

.stg-action--danger {
  background: transparent;
  color: #b91c1c;
  border: 1.5px solid rgba(185, 28, 28, 0.3);
}
.stg-action--danger:hover {
  background: rgba(185, 28, 28, 0.1);
  color: #b91c1c;
  border-color: #b91c1c;
}

/* Toggle (disabled stub) */
.stg-toggle {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
  cursor: pointer;
  flex-shrink: 0;
}

.stg-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }

.stg-toggle__track {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.stg-toggle--disabled { cursor: not-allowed; }

/* Sign out */
.stg-signout {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.stg-signout__btn {
  font-size: 0.85rem;
  font-weight: 700;
  color: #b91c1c;
  background: transparent;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1.5px solid rgba(185, 28, 28, 0.3);
  text-decoration: none;
  font-family: 'Quantico-Regular', sans-serif;
  transition: all 0.15s;
  display: inline-block;
}

.stg-signout__btn:hover {
  background: rgba(185, 28, 28, 0.1);
  color: #b91c1c;
  border-color: #b91c1c;
}


/* ──────────────────────────────────────────────────────────────
   ADDRESS FORM
   ────────────────────────────────────────────────────────────── */

.addr-wrap {
  max-width: 540px;
  margin: 0 auto;
  padding: 0 0.5rem;
}

.addr-header {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1.75rem;
}

.addr-header__icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.addr-header__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--major-link, #0096FF);
  font-family: 'Quantico-Regular', sans-serif;
  margin: 0 0 0.3rem;
  line-height: 1.3;
}

.addr-header__sub {
  font-size: 0.8rem;
  color: var(--text);
  opacity: 0.65;
  margin: 0;
  line-height: 1.5;
}

.addr-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: none;
}

.addr-section {
  backdrop-filter: blur(1px) saturate(72%);
  -webkit-backdrop-filter: blur(1px) saturate(72%);
  background-color: rgba(17, 25, 40, 0.19);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.125);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.addr-section__legend {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--major-link, #0096FF);
  padding: 0 0.25rem;
  font-family: 'Quantico-Regular', sans-serif;
  margin-bottom: 0.25rem;
}

.addr-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}

.addr-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

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

.addr-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.addr-required {
  color: #b91c1c;
  font-weight: 700;
  font-size: 0.82rem;
}

.addr-hint {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text);
  opacity: 0.5;
}

.addr-input,
.addr-select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: rgba(17, 25, 40, 0.3);
  color: var(--text);
  font-size: 0.88rem;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
}

.addr-input:focus,
.addr-select:focus {
  outline: none;
  border-color: var(--major-link, #0096FF);
  box-shadow: 0 0 0 3px rgba(0, 150, 255, 0.15);
}

.addr-input::placeholder { color: var(--text); opacity: 0.35; }

/* Custom dropdown arrow */
.addr-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
}

.addr-field-hint {
  font-size: 0.68rem;
  color: var(--text);
  opacity: 0.45;
  line-height: 1.3;
}

.addr-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.addr-submit {
  width: 100%;
  padding: 0.8rem;
  background: var(--major-link, #0096FF);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Quantico-Regular', sans-serif;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.15s;
  letter-spacing: 0.02em;
}

.addr-submit:hover { opacity: 0.88; background: var(--major-link, #0096FF); }

.addr-privacy {
  font-size: 0.72rem;
  color: var(--text);
  opacity: 0.45;
  text-align: center;
  margin: 0;
}


/* ──────────────────────────────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────────────────────────────── */

@media (max-width: 600px) {

  .ov-greeting__email { font-size: 1.3rem; }
  .ov-clock__time     { font-size: 1.1rem; }

  .addr-row { grid-template-columns: 1fr; }
  .addr-field--full { grid-column: auto; }

  .stg-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .stg-action {
    align-self: flex-end;
  }
}
