/* ============================================================
   VitaKit -- Auth page + header account icon
   Tokens (mirroring _tokens.scss):
     forest-deep: #0F2219 | forest: #1B3A2D | olive: #3D5A47 | sage: #6B8F71
     signal: #E8552E | signal-light: #FF6B35
     cream: #F5F0E8 | sand: #E8E0D4 | white: #FAFAF8
     text: #2C2C2C | text-light: #6B6B6B
   ============================================================ */

/* ---------- HEADER : account icon ---------- */
.nav-actions__account {
  position: relative;
}
.nav-actions__badge--initial {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #0F2219;
  color: #F5F0E8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FAFAF8;
  line-height: 1;
}

/* ---------- AUTH PAGE : reset of layout-content-only body ---------- */
body#authentication.layout-content-only,
body#registration.layout-content-only {
  background: #FAFAF8;
  color: #2C2C2C;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  margin: 0;
  min-height: 100vh;
}

/* ---------- AUTH SHELL ---------- */
.vk-auth {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #FAFAF8;
  color: #2C2C2C;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

.vk-auth__brand {
  display: flex;
  justify-content: center;
  margin: 0;
}
.vk-auth__brand a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.vk-auth__logo {
  display: block;
  height: 56px;
  width: auto;
}

/* ---------- GRID ---------- */
.vk-auth__grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 600px;
}

/* ---------- LEFT HERO ---------- */
.vk-auth__hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0F2219 0%, #1B3A2D 50%, #3D5A47 100%);
  padding: 60px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #F5F0E8;
  box-sizing: border-box;
}

/* Desktop: keep the visual side pinned in viewport while the (taller) form scrolls */
@media (min-width: 901px) {
  .vk-auth__hero {
    position: sticky;
    top: 0;
    align-self: start;
    height: 100vh;
    max-height: 100vh;
  }
}
.vk-auth__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, #F5F0E8 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 0.04;
  pointer-events: none;
}
.vk-auth__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.vk-auth__orb--tl {
  top: -10%;
  right: -15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232,85,46,0.30), transparent 70%);
}
.vk-auth__orb--br {
  bottom: -15%;
  left: -10%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(107,143,113,0.30), transparent 70%);
}

.vk-auth__hero-top { position: relative; z-index: 1; }
.vk-auth__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
  font-size: 11px;
  font-weight: 600;
  color: #6B8F71;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.vk-auth__pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF6B35;
  animation: vk-auth-pulse 2s infinite;
}
@keyframes vk-auth-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}
.vk-auth__hero-title {
  font-size: 38px;
  font-weight: 800;
  color: #F5F0E8;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 0 0 16px 0;
  font-family: 'Playfair Display', 'Plus Jakarta Sans', serif;
}
.vk-auth__hero-title em {
  color: #FF6B35;
  font-style: normal;
}
.vk-auth__hero-lead {
  font-size: 16px;
  color: rgba(245,240,232,0.6);
  line-height: 1.6;
  max-width: 380px;
  margin: 0;
}

.vk-auth__hero-card-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}
.vk-auth__hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 24px;
  padding: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  width: 320px;
  transform: rotate(-2deg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.vk-auth__hero-card-img {
  aspect-ratio: 1.4 / 1;
  border-radius: 16px;
  background: linear-gradient(135deg, #D4E0D8, #B8CCC0);
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
.vk-auth__hero-card-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  background: #3D5A47;
  color: #FAFAF8;
  padding: 3px 9px;
  border-radius: 50px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.vk-auth__hero-card-photo {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.vk-auth__hero-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.vk-auth__hero-card-name {
  font-size: 14px;
  font-weight: 700;
  color: #F5F0E8;
  margin-bottom: 4px;
}
.vk-auth__hero-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.vk-auth__hero-card-sub {
  font-size: 11px;
  color: rgba(245,240,232,0.5);
}
.vk-auth__hero-card-price {
  font-size: 16px;
  font-weight: 800;
  color: #FF6B35;
}

.vk-auth__trust {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.vk-auth__trust-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
}
.vk-auth__trust-icon { font-size: 18px; margin-bottom: 4px; }
.vk-auth__trust-label {
  font-size: 16px;
  font-weight: 800;
  color: #F5F0E8;
  letter-spacing: -0.5px;
}
.vk-auth__trust-sub {
  font-size: 10px;
  color: rgba(245,240,232,0.45);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* ---------- RIGHT PANEL ---------- */
.vk-auth__panel {
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0 56px;
  min-height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  box-sizing: border-box;
}
.vk-auth__inner {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  max-height: 100%;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.vk-auth__sticky-header {
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  padding: 12px 0 10px;
  background: linear-gradient(180deg, #FAFAF8 78%, rgba(250,250,248,0));
  border-bottom: 1px solid rgba(232,224,212,0.45);
}
.vk-auth__body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: 4px;
}

/* Signup tab: scrollable form + sticky Enregistrer footer */
.vk-auth[data-active-tab="signup"] .vk-auth__formslot[data-slot="signup"] {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.vk-auth .vk-auth__form--register {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.vk-auth .vk-auth__form-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #E8E0D4 transparent;
}
.vk-auth .vk-auth__form-scroll::-webkit-scrollbar {
  width: 6px;
}
.vk-auth .vk-auth__form-scroll::-webkit-scrollbar-thumb {
  background: #E8E0D4;
  border-radius: 3px;
}
.vk-auth .vk-auth__sticky-footer {
  flex-shrink: 0;
  position: sticky;
  bottom: 0;
  z-index: 3;
  margin: 0;
  padding: 10px 0 max(14px, env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(250,250,248,0) 0%, #FAFAF8 28%);
  border-top: 1px solid rgba(232,224,212,0.65);
  box-shadow: 0 -12px 32px rgba(15,34,25,0.06);
}
.vk-auth .vk-auth__sticky-footer .btn-primary {
  margin-top: 0;
}
.vk-auth[data-active-tab="signup"] .vk-auth__switch {
  flex-shrink: 0;
  padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
}
.vk-auth.is-transitioning .vk-auth__formslot[data-slot] {
  opacity: 0;
  transform: translateY(8px);
}

/* ---------- TABS ---------- */
.vk-auth__tabs {
  display: flex;
  background: #F5F0E8;
  border-radius: 50px;
  padding: 4px;
  margin-bottom: 16px;
  position: relative;
}
.vk-auth__tabs-slider {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  background: #FAFAF8;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.vk-auth[data-active-tab="signup"] .vk-auth__tabs-slider {
  left: 50%;
}
.vk-auth__tab {
  flex: 1;
  padding: 8px 0;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #6B6B6B;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: color 0.2s ease;
}
.vk-auth__tab[aria-selected="true"] { color: #0F2219; }

/* ---------- HEADING ---------- */
.vk-auth__heading { margin-bottom: 14px; }
.vk-auth__title {
  font-size: 30px;
  font-weight: 800;
  color: #0F2219;
  letter-spacing: -1.2px;
  margin: 0 0 4px 0;
  line-height: 1.15;
  font-family: 'Playfair Display', 'Plus Jakarta Sans', serif;
}
.vk-auth__subtitle {
  font-size: 14px;
  color: #6B6B6B;
  line-height: 1.5;
  margin: 0;
}

/* show/hide blocks per active tab */
.vk-auth[data-active-tab="login"] [data-show-when="signup"],
.vk-auth[data-active-tab="signup"] [data-show-when="login"] {
  display: none !important;
}

/* form slot visibility */
.vk-auth[data-active-tab="login"] .vk-auth__formslot[data-slot="signup"],
.vk-auth[data-active-tab="signup"] .vk-auth__formslot[data-slot="login"] {
  display: none;
}
.vk-auth__formslot {
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.vk-auth__skeleton {
  height: 280px;
  border-radius: 12px;
  background: linear-gradient(90deg, #F5F0E8 0%, #FAFAF8 50%, #F5F0E8 100%);
  background-size: 200% 100%;
  animation: vk-auth-shimmer 1.4s infinite;
}
@keyframes vk-auth-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- SOCIAL ---------- */
.vk-auth__social {
  display: block;
  margin-bottom: 12px;
}
.vk-auth__social-btn { width: 100%; }
.vk-auth__social-btn {
  height: 48px;
  border-radius: 12px;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none;
  box-sizing: border-box;
}
a.vk-auth__social-btn {
  cursor: pointer;
}
button.vk-auth__social-btn[disabled] {
  cursor: not-allowed;
  opacity: 0.85;
}
.vk-auth__social-btn--google {
  border: 1.5px solid #E8E0D4;
  background: #FAFAF8;
  color: #2C2C2C;
}
a.vk-auth__social-btn--google:hover {
  border-color: #1B3A2D;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* ---------- DIVIDER ---------- */
.vk-auth__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.vk-auth__divider-line {
  flex: 1;
  height: 1px;
  background: #E8E0D4;
}
.vk-auth__divider-text {
  font-size: 11px;
  color: #6B6B6B;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- FORM (PrestaShop fields restyled) ---------- */
.vk-auth__form { width: 100%; }
.vk-auth__fields { margin-bottom: 8px; }

/* Reset Bootstrap row/col grid inside auth form -> stack to full width */
.vk-auth .form-group,
.vk-auth .form-group.row {
  display: block;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 8px;
}
.vk-auth .field-password-policy {
  margin-bottom: 8px;
}
.vk-auth .form-group.row > [class*="col-"],
.vk-auth .form-group > [class*="col-"] {
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.vk-auth .form-group > label,
.vk-auth .form-group.row > label,
.vk-auth .form-control-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #0F2219;
  margin-bottom: 4px;
  text-align: left;
  line-height: 1.35;
}
.vk-auth .form-control-label.required::after {
  content: " *";
  color: #E8552E;
}
.vk-auth .form-control,
.vk-auth input[type="text"],
.vk-auth input[type="email"],
.vk-auth input[type="password"],
.vk-auth input[type="tel"],
.vk-auth input[type="number"] {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid #E8E0D4;
  padding: 0 14px;
  font-family: inherit;
  font-size: 15px;
  color: #2C2C2C;
  outline: none;
  background: #FAFAF8;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.vk-auth .form-control:focus,
.vk-auth input:focus {
  border-color: #1B3A2D;
  box-shadow: 0 0 0 3px rgba(27,58,45,0.10);
}
.vk-auth select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B6B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.vk-auth textarea.form-control {
  height: auto;
  min-height: 96px;
  padding: 12px 16px;
  resize: vertical;
}

/* Password input-group: keep input full-width, dock the show/hide button at right */
.vk-auth .input-group {
  position: relative;
  display: block;
  width: 100%;
}
.vk-auth .input-group > .form-control,
.vk-auth .input-group > input {
  width: 100% !important;
  padding-right: 48px !important;
  border-radius: 12px !important;   /* Bootstrap strips right radius -- restore */
}
.vk-auth .input-group-btn,
.vk-auth .input-group-append {
  position: absolute !important;
  top: 20px !important;
  right: 8px !important;
  transform: translateY(-50%);
  z-index: 2;
  width: auto !important;
  display: inline-flex !important;
  background: transparent !important;
  border: none !important;
}
.vk-auth .input-group-btn .btn,
.vk-auth .input-group-append .btn,
.vk-auth .input-group-btn button[data-action="show-password"],
.vk-auth button[data-action="show-password"] {
  height: 32px !important;
  width: 32px !important;
  min-width: 32px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: #6B6B6B !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  font-size: 0 !important; /* hide "Montrer/Cacher" text */
  line-height: 1 !important;
  box-shadow: none !important;
  position: relative !important;
  text-shadow: none !important;
  outline: none !important;
}
.vk-auth .input-group-btn .btn::before,
.vk-auth .input-group-btn button[data-action="show-password"]::before,
.vk-auth button[data-action="show-password"]::before {
  content: "" !important;
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  background-color: #6B6B6B !important;
  background-image: none !important;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") !important;
  -webkit-mask-size: 20px 20px !important;
  mask-size: 20px 20px !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.vk-auth .input-group:has(input[type="text"]) .input-group-btn .btn::before,
.vk-auth .input-group:has(input[type="text"]) button[data-action="show-password"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E") !important;
}
.vk-auth .input-group-btn .btn:hover,
.vk-auth .input-group-btn button[data-action="show-password"]:hover,
.vk-auth button[data-action="show-password"]:hover {
  background: rgba(15,34,25,0.06) !important;
}
.vk-auth .input-group-btn .btn:hover::before,
.vk-auth button[data-action="show-password"]:hover::before {
  background-color: #1B3A2D !important;
}

/* Gender radios + custom-radio styling */
.vk-auth .radio-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 16px;
  cursor: pointer;
  font-size: 14px;
}
.vk-auth .custom-radio {
  width: 18px;
  height: 18px;
  border: 1.5px solid #E8E0D4;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FAFAF8;
  flex-shrink: 0;
}
.vk-auth .custom-radio input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  opacity: 0;
  position: absolute;
  cursor: pointer;
}
.vk-auth .custom-radio input[type="radio"]:checked + span,
.vk-auth .custom-radio.checked {
  position: relative;
}
.vk-auth .custom-radio input[type="radio"]:checked ~ * {
  /* nothing */
}
.vk-auth .custom-radio input[type="radio"]:checked + span::after,
.vk-auth .custom-radio:has(input:checked)::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E8552E;
  position: absolute;
}

/* Submit button rendered by PrestaShop registration (.btn-primary) */
.vk-auth .form-footer .btn-primary,
.vk-auth button[data-link-action="save-customer"],
.vk-auth button[type="submit"].btn-primary {
  width: 100%;
  height: 52px;
  border-radius: 50px;
  border: none;
  background: #E8552E;
  color: #FAFAF8;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(232,85,46,0.40);
  margin-top: 0;
}
.vk-auth .form-footer .btn-primary:hover,
.vk-auth button[data-link-action="save-customer"]:hover,
.vk-auth button[type="submit"].btn-primary:hover {
  background: #FF6B35;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(232,85,46,0.50);
}

/* Form-footer container reset */
.vk-auth .form-footer {
  display: block;
  text-align: center;
  margin-top: 6px;
}
.vk-auth .form-footer.vk-auth__sticky-footer {
  margin-top: 0;
}
.vk-auth .form-footer .clearfix { display: block; }

.vk-auth .form-control-comment,
.vk-auth small.text-muted {
  font-size: 11px;
  color: #6B6B6B;
  margin-top: 2px;
  display: block;
}

/* Checkbox fields (compact template: .vk-form-checkbox) */
.vk-auth .vk-form-checkbox {
  margin: 0 0 4px;
  padding: 0;
}
.vk-auth .vk-form-checkbox + .vk-form-checkbox {
  margin-top: 0;
  margin-bottom: 3px;
}
.vk-auth .vk-form-checkbox .custom-checkbox {
  position: static;
  display: block;
  margin: 0;
  word-break: normal;
}
.vk-auth .vk-form-checkbox .custom-checkbox > label,
.vk-auth .vk-form-checkbox .custom-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0 !important;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.4;
  color: #2C2C2C;
  text-align: left;
}
.vk-auth .vk-form-checkbox .custom-checkbox input[type="checkbox"] {
  position: static;
  opacity: 1;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: #E8552E;
}
.vk-auth .vk-form-checkbox .custom-checkbox input[type="checkbox"] + span.custom-checkbox__mark,
.vk-auth .vk-form-checkbox .custom-checkbox input[type="checkbox"] + span:not(.custom-checkbox__text) {
  display: none;
}
.vk-auth .vk-form-checkbox .custom-checkbox__text {
  flex: 1;
  min-width: 0;
}
.vk-auth .vk-form-checkbox .custom-checkbox__text a {
  color: #E8552E;
  font-weight: 600;
}

.vk-auth .form-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.4;
}
.vk-auth .form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: #E8552E;
}

.vk-auth__forgot {
  text-align: right;
  margin: -2px 0 8px 0;
}
.vk-auth__forgot a {
  font-size: 11px;
  color: #E8552E;
  text-decoration: none;
  font-weight: 600;
}
.vk-auth__forgot a:hover { text-decoration: underline; }

.vk-auth__submit {
  width: 100%;
  height: 52px;
  border-radius: 50px;
  border: none;
  background: #E8552E;
  color: #FAFAF8;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(232,85,46,0.40);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.vk-auth__submit:hover {
  background: #FF6B35;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(232,85,46,0.50);
}
.vk-auth__submit-arrow { display: inline-block; transition: transform 0.2s ease; }
.vk-auth__submit:hover .vk-auth__submit-arrow { transform: translateX(2px); }

.vk-auth__magic {
  width: 100%;
  margin-top: 6px;
  padding: 10px;
  border: 1.5px dashed transparent;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #6B6B6B;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 12px;
  transition: all 0.2s ease;
}
.vk-auth__magic:hover:not(:disabled):not(.is-sent) {
  color: #1B3A2D;
  border-color: #E8E0D4;
  background: #FAFAF8;
}
.vk-auth__magic.is-loading {
  opacity: 0.7;
  cursor: wait;
}
.vk-auth__magic.is-loading .vk-auth__magic-icon {
  animation: vk-magic-spin 1s linear infinite;
}
.vk-auth__magic.is-sent {
  color: #1B3A2D;
  background: rgba(102,187,106,0.10);
  border-color: rgba(102,187,106,0.30);
  cursor: default;
}
@keyframes vk-magic-spin {
  to { transform: rotate(360deg); }
}

.vk-auth__magic-msg {
  margin: 4px 0 0 0;
  font-size: 12px;
  text-align: center;
  min-height: 16px;
  line-height: 1.4;
}
.vk-auth__magic-msg.is-success {
  color: #1B3A2D;
}
.vk-auth__magic-msg.is-error {
  color: #B5371A;
}

/* email input invalid flash */
.vk-auth input.is-invalid {
  border-color: #E8552E !important;
  box-shadow: 0 0 0 3px rgba(232,85,46,0.15) !important;
}

.vk-auth__switch {
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: #6B6B6B;
}
.vk-auth__switch-link {
  color: #E8552E;
  font-weight: 700;
  text-decoration: none;
}
.vk-auth__switch-link:hover { text-decoration: underline; }

/* PrestaShop alert restyle inside auth */
.vk-auth .alert {
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  margin-bottom: 8px;
  border: 1px solid transparent;
}
.vk-auth .alert-danger {
  background: #FFF1ED;
  border-color: #F4C5B5;
  color: #B5371A;
}
.vk-auth .alert-success {
  background: #F0F5F1;
  border-color: #C5D6C9;
  color: #1B3A2D;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .vk-auth__grid { grid-template-columns: 1fr; }
  .vk-auth__hero {
    min-height: auto;
    padding: 32px 24px;
  }
  .vk-auth__hero-card-wrap { display: none; }
  .vk-auth__hero-title { font-size: 28px; }
  .vk-auth__panel { padding: 0 24px; }
  .vk-auth__sticky-header { padding: 10px 0 8px; }
}
@media (max-width: 540px) {
  .vk-auth__hero-lead { font-size: 14px; }
  .vk-auth__title { font-size: 24px; }
  .vk-auth__logo { height: 48px; }
}
