/* ----------------------------------------------------------------------------
 * Rezervo Now- Online Appointment Scheduler
 *
 * @package     Rezervo Now
 * @author      Anis Alekaj <anis.alekaj23@gmail.com>
 * @copyright   Copyright (c) Anis Alekaj
 * @license     https://opensource.org/licenses/GPL-3.0 - GPLv3
 * @link        https://rezervonow.com
 * @since       v1.5.0
 * ---------------------------------------------------------------------------- */
:root {
  --auth-text: #0f172a;
  --auth-muted: rgba(51, 65, 85, 0.72);
  --auth-border: rgba(148, 163, 184, 0.18);
  --auth-accent: #0f766e;
  --auth-accent-strong: #115e59;
  --auth-accent-soft: rgba(15, 118, 110, 0.1);
  --auth-accent-ring: rgba(15, 118, 110, 0.12);
  --auth-panel-bg: rgba(255, 255, 255, 0.96);
  --auth-showcase-start: #0f172a;
  --auth-showcase-mid: #17324c;
  --auth-showcase-end: #0b1220;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: clamp(18px, 3vw, 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 12% 18%, rgba(15, 118, 110, 0.1), transparent 22%),
    radial-gradient(circle at 86% 82%, rgba(37, 99, 235, 0.08), transparent 20%),
    linear-gradient(135deg, #f3f6fa 0%, #f8fafc 48%, #eef3f8 100%);
}

#login-frame {
  position: relative;
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 0;
  border: 1px solid var(--auth-border);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 30px 80px rgba(17, 24, 39, 0.14),
    0 8px 22px rgba(17, 24, 39, 0.06);
  overflow: hidden;
}

.account-shell {
  display: grid;
  grid-template-columns: minmax(120px, 0.24fr) minmax(0, 1fr);
  min-height: min(680px, calc(100vh - 36px));
}

.account-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 2.5vw, 28px);
  background:
    radial-gradient(circle at 68% 18%, rgba(45, 212, 191, 0.18), transparent 24%),
    linear-gradient(180deg, var(--auth-showcase-start) 0%, var(--auth-showcase-mid) 50%, var(--auth-showcase-end) 100%);
}

.account-showcase::before,
.account-showcase::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.account-showcase::before {
  width: 180px;
  height: 180px;
  right: -54px;
  bottom: -42px;
  background: rgba(45, 212, 191, 0.14);
}

.account-showcase::after {
  width: 120px;
  height: 120px;
  right: 18px;
  top: 48px;
  background: rgba(148, 163, 184, 0.09);
}

.account-showcase__mark {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(64px, 8vw, 86px);
  height: clamp(64px, 8vw, 86px);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 16px 34px rgba(2, 8, 23, 0.16);
}

.account-showcase__logo-mark {
  width: clamp(42px, 5vw, 56px);
  height: auto;
  object-fit: contain;
}

.account-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  margin-bottom: 28px;
  color: var(--auth-text);
  text-decoration: none;
}

.account-brand__logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  padding: 9px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(22, 78, 99, 0.08));
  box-shadow:
    inset 0 0 0 1px rgba(15, 118, 110, 0.08),
    0 10px 24px rgba(15, 23, 42, 0.08);
}

.account-brand__name {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.account-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 56px);
  background:
    linear-gradient(180deg, var(--auth-panel-bg), rgba(248, 250, 252, 0.97));
}

.account-panel > h2,
.account-panel > h3 {
  margin: 0;
  color: var(--auth-text);
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.account-panel > p {
  margin: 14px 0 0;
  color: var(--auth-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.account-footer {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--auth-border);
  color: rgba(71, 85, 105, 0.72);
}

.account-footer a {
  color: var(--auth-accent);
  font-weight: 600;
}

.login-page__header {
  margin-bottom: 28px;
}

.login-page__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--auth-accent-soft);
  color: var(--auth-accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-entry-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 320px);
  margin-bottom: 18px;
  padding: 6px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.account-entry-switch__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 14px;
  color: rgba(51, 65, 85, 0.92);
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.account-entry-switch__item:hover,
.account-entry-switch__item:focus {
  color: var(--auth-text);
  background: rgba(15, 118, 110, 0.06);
}

.account-entry-switch__item.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--auth-accent) 0%, #164e63 100%);
  box-shadow:
    0 10px 22px rgba(15, 118, 110, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.login-page__title {
  margin: 0;
  color: var(--auth-text);
  font-size: clamp(2.1rem, 3vw, 2.9rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.login-page__subtitle {
  margin: 14px 0 0;
  max-width: 520px;
  color: var(--auth-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.login-page .alert {
  margin: 24px 0;
  padding: 14px 16px;
  border: none;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(217, 83, 79, 0.08);
}

.login-form {
  margin-top: 34px;
}

.register-wizard {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.register-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.register-progress__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(71, 85, 105, 0.86);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.register-progress__item.is-active {
  border-color: rgba(15, 118, 110, 0.34);
  background: rgba(15, 118, 110, 0.08);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.08);
  color: var(--auth-text);
}

.register-progress__item.is-complete {
  border-color: rgba(15, 118, 110, 0.22);
  background: rgba(15, 118, 110, 0.05);
}

.register-progress__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
  font-size: 0.88rem;
  font-weight: 700;
}

.register-progress__item.is-active .register-progress__index,
.register-progress__item.is-complete .register-progress__index {
  background: linear-gradient(135deg, var(--auth-accent) 0%, #164e63 100%);
  color: #fff;
}

.register-progress__label {
  font-size: 0.93rem;
  font-weight: 600;
}

.register-step {
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 12px 32px rgba(15, 23, 42, 0.05);
}

.register-step__header {
  margin-bottom: 22px;
}

.register-step__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
  color: var(--auth-accent-strong);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.register-step__title {
  margin: 0;
  color: var(--auth-text);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.register-step__subtitle {
  margin: 10px 0 0;
  color: var(--auth-muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

.register-step__feedback {
  margin-top: 18px;
}

.register-step__empty {
  padding: 18px;
  border: 1px dashed rgba(148, 163, 184, 0.4);
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.7);
  color: rgba(71, 85, 105, 0.9);
  text-align: center;
}

.register-choice-grid {
  display: grid;
  gap: 14px;
}

.register-choice-grid--agenda {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.register-choice-grid--category {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.register-choice {
  position: relative;
  display: block;
  cursor: pointer;
}

.register-choice--link {
  text-decoration: none;
}

.register-choice--link .register-choice__body {
  min-height: 0;
}

.register-choice__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.register-choice__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 130px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 8px 24px rgba(15, 23, 42, 0.04);
  transition:
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.register-choice__body--compact {
  min-height: 0;
  justify-content: center;
}

.register-choice:hover .register-choice__body {
  transform: translateY(-1px);
  border-color: rgba(15, 118, 110, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 12px 28px rgba(15, 118, 110, 0.08);
}

.register-choice__input:checked + .register-choice__body {
  border-color: rgba(15, 118, 110, 0.44);
  background:
    linear-gradient(180deg, rgba(240, 253, 250, 0.96), rgba(236, 253, 245, 0.94));
  box-shadow:
    inset 0 0 0 1px rgba(15, 118, 110, 0.08),
    0 16px 32px rgba(15, 118, 110, 0.12);
}

.register-choice__title {
  color: var(--auth-text);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.register-choice__text {
  color: var(--auth-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.register-entry-modal__dialog {
  max-width: 760px;
}

.register-entry-modal__content {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 252, 0.96));
  box-shadow:
    0 28px 70px rgba(15, 23, 42, 0.2),
    0 10px 26px rgba(15, 23, 42, 0.08);
}

.register-entry-modal__header {
  align-items: flex-start;
  padding: 26px 28px 0;
  border-bottom: none;
}

.register-entry-modal__body {
  padding: 22px 28px 30px;
}

.register-entry-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
  color: var(--auth-accent-strong);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.register-entry-modal__title {
  margin: 0;
  color: var(--auth-text);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.register-choice-grid--modal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.login-form__group + .login-form__group {
  margin-top: 20px;
}

.login-form__phone-shell {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.login-form__phone-prefix {
  flex: 0 0 190px;
  max-width: 190px;
}

.login-form__phone-local {
  flex: 1 1 auto;
  min-width: 0;
}

.login-form__phone-hint {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
}

.login-form__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--auth-text);
}

.password-watch-emoji {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 2px;
  isolation: isolate;
  overflow: visible;
}

.password-watch-emoji::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(14, 165, 233, 0.35), rgba(14, 165, 233, 0) 65%),
    radial-gradient(circle at 60% 70%, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0) 70%);
  opacity: 0.32;
  transform: scale(0.9);
  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    background 0.28s ease;
  z-index: 0;
}

.password-watch-emoji__face {
  position: relative;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0) 38%),
    linear-gradient(145deg, #ffe478 0%, #ffc833 52%, #f7af1f 100%);
  box-shadow:
    inset 0 0 0 1px rgba(156, 96, 12, 0.16),
    0 8px 18px rgba(15, 23, 42, 0.16);
  transform-origin: center;
  animation: password-watch-float 2.6s ease-in-out infinite;
  transition:
    transform 0.22s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.22s ease;
}

.password-watch-emoji__face::before,
.password-watch-emoji__face::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 3px;
  bottom: 10px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.18);
  filter: blur(0.1px);
}

.password-watch-emoji__face::before {
  left: 6px;
}

.password-watch-emoji__face::after {
  right: 6px;
}

.password-watch-emoji__eye {
  position: absolute;
  top: 11px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.24);
  background: #fff;
  overflow: hidden;
}

.password-watch-emoji__eye::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  z-index: 2;
}

.password-watch-emoji__eye--left {
  left: 7px;
}

.password-watch-emoji__eye--right {
  right: 7px;
}

.password-watch-emoji__pupil {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4.3px;
  height: 4.3px;
  border-radius: 50%;
  background: #111827;
  transform: translate(-50%, -50%);
  transition: transform 0.1s linear, opacity 0.12s ease;
}

.password-watch-emoji__lid {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd44f 0%, #f8bc2f 100%);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.17s ease;
}

.password-watch-emoji__mouth {
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 11px;
  height: 5px;
  border-bottom: 2px solid rgba(15, 23, 42, 0.38);
  border-radius: 0 0 999px 999px;
  transform: translateX(-50%);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    border-radius 0.2s ease;
}

.password-watch-emoji__hand {
  position: absolute;
  z-index: 4;
  right: -12px;
  top: 9px;
  font-size: 14px;
  line-height: 1;
  opacity: 0;
  transform: translate(10px, -3px) scale(0.7) rotate(-16deg);
  transition:
    opacity 0.16s ease,
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.password-watch-emoji__gesture {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: -18px;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  opacity: 0;
  transform: translate(-50%, 5px) scale(0.78);
  filter: drop-shadow(0 4px 10px rgba(15, 23, 42, 0.22));
  transition:
    opacity 0.16s ease,
    transform 0.22s ease;
  pointer-events: none;
}

.password-watch-emoji.is-alert:not(.is-feedback) .password-watch-emoji__face {
  transform: translateY(-1px) scale(1.03);
}

.password-watch-emoji.is-alert:not(.is-feedback) .password-watch-emoji__mouth {
  transform: translateX(-50%) translateY(-0.2px);
}

.password-watch-emoji.is-closed .password-watch-emoji__lid {
  transform: scaleY(1);
}

.password-watch-emoji.is-closed .password-watch-emoji__pupil {
  opacity: 0;
}

.password-watch-emoji.is-closed .password-watch-emoji__mouth {
  border-bottom-color: rgba(15, 23, 42, 0.5);
}

.password-watch-emoji.is-covering .password-watch-emoji__face {
  transform: translateY(-0.5px) rotate(-2deg);
}

.password-watch-emoji.is-covering .password-watch-emoji__hand {
  opacity: 1;
  transform: translate(0, 0) scale(1) rotate(-3deg);
  animation: password-watch-wave 0.45s ease;
}

.password-watch-emoji.is-feedback::before {
  opacity: 0.75;
  transform: scale(1.15);
}

.password-watch-emoji.is-feedback .password-watch-emoji__face {
  animation: none;
  transform: scale(1.16);
}

.password-watch-emoji.is-feedback .password-watch-emoji__gesture {
  opacity: 1;
  transform: translate(-50%, 0) scale(1.12);
}

.password-watch-emoji.is-success .password-watch-emoji__face {
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 35%),
    linear-gradient(145deg, #bbf7d0 0%, #4ade80 52%, #16a34a 100%);
  box-shadow:
    inset 0 0 0 1px rgba(6, 95, 70, 0.18),
    0 12px 22px rgba(34, 197, 94, 0.3);
  animation:
    password-watch-pop 0.34s ease,
    password-watch-success-beat 0.52s ease 0.34s;
}

.password-watch-emoji.is-success .password-watch-emoji__mouth {
  border-bottom-color: rgba(6, 95, 70, 0.78);
}

.password-watch-emoji.is-success .password-watch-emoji__gesture {
  color: #065f46;
}

.password-watch-emoji.is-error .password-watch-emoji__face {
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0) 35%),
    linear-gradient(145deg, #fecaca 0%, #f87171 52%, #dc2626 100%);
  box-shadow:
    inset 0 0 0 1px rgba(127, 29, 29, 0.22),
    0 12px 22px rgba(239, 68, 68, 0.28);
  animation:
    password-watch-pop 0.34s ease,
    password-watch-error-shake 0.46s ease 0.34s;
}

.password-watch-emoji.is-error .password-watch-emoji__mouth {
  width: 12px;
  height: 6px;
  border-bottom: none;
  border-top: 2px solid rgba(127, 29, 29, 0.8);
  border-radius: 999px 999px 0 0;
  bottom: 7px;
}

.password-watch-emoji.is-error .password-watch-emoji__gesture {
  color: #991b1b;
}

@keyframes password-watch-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1.2px);
  }
}

@keyframes password-watch-wave {
  0% {
    transform: translate(0, 0) scale(1) rotate(-3deg);
  }
  35% {
    transform: translate(-1px, -1px) scale(1.04) rotate(8deg);
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(-3deg);
  }
}

@keyframes password-watch-pop {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.34);
  }
  100% {
    transform: scale(1.2);
  }
}

@keyframes password-watch-success-beat {
  0% {
    transform: scale(1.2) translateY(0);
  }
  40% {
    transform: scale(1.16) translateY(-2px);
  }
  100% {
    transform: scale(1.2) translateY(0);
  }
}

@keyframes password-watch-error-shake {
  0% {
    transform: scale(1.2) translateX(0);
  }
  25% {
    transform: scale(1.2) translateX(-2px);
  }
  50% {
    transform: scale(1.2) translateX(2px);
  }
  75% {
    transform: scale(1.2) translateX(-1px);
  }
  100% {
    transform: scale(1.2) translateX(0);
  }
}

.login-field {
  position: relative;
}

.login-field__icon {
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  color: rgba(15, 118, 110, 0.62);
  pointer-events: none;
}

.login-field .form-control {
  min-height: 60px;
  padding: 17px 18px 17px 50px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: #ffffff;
  box-shadow:
    inset 0 1px 2px rgba(15, 23, 42, 0.03),
    0 6px 18px rgba(15, 23, 42, 0.03);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.login-field .form-control:focus {
  border-color: rgba(15, 118, 110, 0.4);
  background-color: #fff;
  box-shadow:
    0 0 0 4px var(--auth-accent-ring),
    0 10px 22px rgba(15, 118, 110, 0.06);
}

.login-field--with-toggle .form-control {
  padding-right: 62px;
}

.login-field__toggle {
  position: absolute;
  right: 12px;
  bottom: 8px;
  transform: none;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  background: transparent;
  color: rgba(15, 118, 110, 0.72);
  cursor: pointer;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.login-field__toggle:hover,
.login-field__toggle:focus {
  color: var(--auth-accent-strong);
  background: rgba(15, 118, 110, 0.08);
  outline: none;
}

.login-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}

.register-wizard__actions {
  margin-top: 4px;
}

.register-wizard__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.register-wizard__button {
  min-width: 144px;
}

.forgot-password {
  color: var(--auth-accent);
  font-weight: 600;
  text-decoration: none;
}

.forgot-password:hover {
  text-decoration: underline;
}

.login-form__submit {
  min-width: 180px;
  min-height: 56px;
  padding: 13px 24px;
  border: none;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--auth-accent) 0%, #164e63 100%);
  box-shadow:
    0 16px 30px rgba(15, 118, 110, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.login-form__submit:hover,
.login-form__submit:focus {
  background: linear-gradient(135deg, var(--auth-accent-strong) 0%, #0f3f53 100%);
}

.logout-page {
  max-width: 560px;
}

@media (max-width: 991px) {
  .register-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .register-choice-grid--agenda,
  .register-choice-grid--category,
  .register-choice-grid--modal {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .register-step {
    padding: 20px 18px;
    border-radius: 20px;
  }

  .register-progress {
    gap: 10px;
  }

  .register-progress__item {
    padding: 12px 14px;
  }

  .register-entry-modal__header {
    padding: 20px 20px 0;
  }

  .register-entry-modal__body {
    padding: 18px 20px 22px;
  }

  .register-wizard__actions,
  .login-form__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .register-wizard__buttons {
    width: 100%;
  }

  .register-wizard__button,
  .login-form__submit {
    width: 100%;
  }

  .login-form__phone-shell {
    flex-direction: column;
  }

  .login-form__phone-prefix {
    flex-basis: auto;
    max-width: none;
  }
}

.logout-page__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--auth-accent-soft);
  color: var(--auth-accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logout-page__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  margin-bottom: 20px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(45, 212, 191, 0.22), transparent 44%),
    linear-gradient(135deg, rgba(15, 118, 110, 0.12) 0%, rgba(22, 78, 99, 0.08) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(15, 118, 110, 0.08),
    0 16px 34px rgba(15, 23, 42, 0.08);
  color: var(--auth-accent);
  font-size: 2rem;
}

.logout-page__title {
  margin: 0;
  color: var(--auth-text);
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.logout-page__subtitle {
  margin: 14px 0 0;
  color: var(--auth-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.logout-page__actions {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.logout-page__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 13px 20px;
  border-radius: 18px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.logout-page__action:hover,
.logout-page__action:focus {
  transform: translateY(-1px);
}

.logout-page__action--primary {
  border: none;
  color: #ffffff;
  background: linear-gradient(135deg, var(--auth-accent) 0%, #164e63 100%);
  box-shadow:
    0 16px 30px rgba(15, 118, 110, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.logout-page__action--primary:hover,
.logout-page__action--primary:focus {
  color: #ffffff;
  background: linear-gradient(135deg, var(--auth-accent-strong) 0%, #0f3f53 100%);
}

.logout-page__action--secondary {
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: var(--auth-text);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.logout-page__action--secondary:hover,
.logout-page__action--secondary:focus {
  color: var(--auth-text);
  border-color: rgba(15, 118, 110, 0.24);
  background: rgba(15, 118, 110, 0.04);
}

.customer-portal {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.customer-portal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.customer-portal__title {
  margin: 0;
  color: var(--auth-text);
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.customer-portal__subtitle {
  margin: 12px 0 0;
  color: var(--auth-muted);
  line-height: 1.7;
}

.customer-portal__logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: var(--auth-text);
  background: #fff;
  text-decoration: none;
  font-weight: 600;
}

.customer-portal__logout:hover,
.customer-portal__logout:focus {
  color: var(--auth-text);
  border-color: rgba(15, 118, 110, 0.24);
  background: rgba(15, 118, 110, 0.04);
}

.customer-portal__nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.customer-portal__tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.75);
  color: rgba(51, 65, 85, 0.92);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.customer-portal__tab strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
  color: var(--auth-text);
  font-size: 0.84rem;
}

.customer-portal__tab.is-active {
  border-color: rgba(15, 118, 110, 0.28);
  background: rgba(15, 118, 110, 0.08);
  box-shadow: 0 16px 30px rgba(15, 118, 110, 0.08);
}

.customer-portal__tab.is-active strong {
  color: #fff;
  background: linear-gradient(135deg, var(--auth-accent) 0%, #164e63 100%);
}

.customer-portal__section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.customer-business-card,
.customer-booking-card,
.customer-profile {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.95));
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05);
}

.customer-business-card__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.customer-business-card__logo,
.customer-business-card__logo-fallback {
  width: 58px;
  height: 58px;
  border-radius: 18px;
}

.customer-business-card__logo {
  object-fit: cover;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.customer-business-card__logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--auth-accent) 0%, #164e63 100%);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}

.customer-business-card__title,
.customer-booking-card__title {
  margin: 0;
  color: var(--auth-text);
  font-size: 1.12rem;
}

.customer-business-card__meta,
.customer-booking-card__business {
  margin: 6px 0 0;
  color: var(--auth-muted);
}

.customer-business-card__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin: 18px 0 0;
}

.customer-business-card__details dt {
  margin: 0 0 4px;
  color: rgba(100, 116, 139, 0.92);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.customer-business-card__details dd {
  margin: 0;
  color: var(--auth-text);
  font-weight: 600;
}

.customer-business-card__actions {
  margin-top: 18px;
}

.customer-business-card__actions .btn {
  width: 100%;
}

.customer-booking-list {
  display: grid;
  gap: 16px;
}

.customer-booking-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.customer-booking-card__status {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--auth-accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
}

.customer-booking-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.customer-booking-card__meta span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
  color: rgba(51, 65, 85, 0.92);
  font-size: 0.88rem;
}

.customer-empty-state {
  padding: 22px;
  border-radius: 22px;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  background: rgba(248, 250, 252, 0.75);
  color: rgba(71, 85, 105, 0.9);
  text-align: center;
}

.customer-profile {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.customer-profile__field {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.customer-profile__field span {
  display: block;
  margin-bottom: 6px;
  color: rgba(100, 116, 139, 0.92);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.customer-profile__field strong {
  color: var(--auth-text);
  font-size: 1rem;
}

.customer-profile__notice {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(15, 118, 110, 0.08);
  color: rgba(15, 23, 42, 0.88);
}

.customer-password-form {
  margin-top: 8px;
}

@media (min-width: 641px) {
  .logout-page__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .account-shell {
    grid-template-columns: 1fr;
  }

  .account-showcase {
    display: none;
  }

  .account-panel {
    justify-content: flex-start;
    padding-top: clamp(24px, 4vw, 36px);
  }

  .customer-portal__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    padding: 14px;
  }

  #login-frame {
    width: 100%;
    border-radius: 24px;
  }

  .account-brand {
    gap: 12px;
    margin-bottom: 22px;
  }

  .account-brand__logo {
    width: 48px;
    height: 48px;
  }

  .account-showcase,
  .account-panel {
    padding: 20px 18px;
  }

  .login-form__actions {
    align-items: stretch;
  }

  .forgot-password {
    order: 2;
    width: 100%;
    text-align: center;
  }

  .login-form__submit {
    width: 100%;
  }

  .login-page__header {
    margin-bottom: 20px;
  }

  .login-page__subtitle {
    line-height: 1.65;
  }

  .login-form {
    margin-top: 24px;
  }

  .login-form__group + .login-form__group {
    margin-top: 16px;
  }

  .login-form__phone-shell {
    flex-direction: column;
  }

  .login-form__phone-prefix {
    flex: 1 1 auto;
    max-width: none;
  }

  .login-form__actions {
    margin-top: 22px;
  }

  .customer-portal__header {
    flex-direction: column;
  }

  .customer-portal__nav,
  .customer-card-grid,
  .customer-business-card__details,
  .customer-profile__grid {
    grid-template-columns: 1fr;
  }
}
