/* #authentication,
#registration {
    --ink: #000000;
    --ink-soft: #616161;
    --grey-mid: #9D9D9D;
    --line: #E5E5E5;
    --paper: #FFFFFF;
    --grey: #F0F0F0;
    --error: #FF0000;
    --disabled: #D9D9D9;
    --placeholder: #ADADAD;
    --btn-hover: #202020;

    --fs-lg: 14px;
    --fs-base: 13px;
    --fs-ui: 12px;
    --fs-label: 11px;
    --fs-tag: 10px;

    --control-h: 50px;
    --control-pad: 20px;

    --check-size: 14px;
    --check-dot: 6px;
    --check-dot-offset: 4px;

    --maxw: 1080px;
}

#authentication svg,
#registration svg {
    display: block;
}

#authentication a,
#registration a {
    color: inherit;
}

#authentication :is(a, button, input, .btn, .info-btn, .tab):focus-visible,
#registration :is(a, button, input, .btn, .info-btn, .tab):focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

#authentication input:focus-visible,
#registration input:focus-visible {
    outline: none;
}

#authentication .shell,
#registration .shell {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
}

#authentication .tabs,
#registration .tabs {
    display: flex;
    border-bottom: 1px solid var(--line);
    margin-bottom: 36px !important;
}

#authentication .tab,
#registration .tab {
    appearance: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: "Poppins";
    font-size: var(--fs-base);
    font-weight: 500;
    color: var(--grey-mid);
    padding: 0 4px 16px !important;
    margin-right: 36px;
    position: relative;
    letter-spacing: 0.01em;
    transition: color 0.2s;
}

#authentication .tab::after,
#registration .tab::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

#authentication .tab:hover,
#registration .tab:hover {
    color: var(--ink-soft);
}

#authentication .tab.active,
#registration .tab.active {
    color: var(--ink);
}

#authentication .tab.active::after,
#registration .tab.active::after {
    transform: scaleX(1);
}

#authentication .panel,
#registration .panel {
    display: none;
}

#authentication .panel.active,
#registration .panel.active {
    display: block;
}

#authentication .grid,
#registration .grid {
    display: grid;
    gap: 28px;
    align-items: start;
}

#authentication .grid.login,
#authentication .grid.register,
#registration .grid.login,
#registration .grid.register {
    grid-template-columns: minmax(0, 1fr) 400px;
}

#authentication .card,
#registration .card {
    background: var(--paper);
    border: 1px solid var(--line);
}

#authentication .card-head,
#registration .card-head {
    padding: 22px 30px;
    border-bottom: 1px solid var(--line);
}

#authentication .card-body,
#registration .card-body {
    padding: 30px;
}

#authentication .card-head h2,
#registration .card-head h2 {
    font-size: var(--fs-ui);
    font-weight: 500;
    letter-spacing: 0.02em;
}

#customer-form label::after,
#login-form label::after {
    background: transparent;
}

#authentication .form-control,
#registration .form-control {
    font-family: "Poppins";
    font-size: var(--fs-ui);
    color: var(--ink-soft);
    border: 1px solid var(--line);
    background: #fff !important;
    width: 100%;
    height: var(--control-h);
    padding: 0 var(--control-pad);
}

#authentication .form-control:focus,
#registration .form-control:focus {
    border-color: #000;
    color: #000;
    z-index: 2;
}

#authentication .form-floating,
#registration .form-floating {
    position: relative;
}

#authentication .form-floating > label,
#registration .form-floating > label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    font-size: var(--fs-ui);
    color: var(--ink-soft);
    padding: 0 var(--control-pad);
    pointer-events: none;
    transition: 0.12s;
}

#authentication .form-floating > .form-control::placeholder,
#registration .form-floating > .form-control::placeholder {
    color: transparent;
}

#authentication .form-floating > .form-control:focus ~ label,
#authentication .form-floating > .form-control:not(:placeholder-shown) ~ label,
#registration .form-floating > .form-control:focus ~ label,
#registration .form-floating > .form-control:not(:placeholder-shown) ~ label {
    font-size: 9px;
    align-items: flex-start;
    padding-top: 8px;
}

#authentication .btn,
#registration .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    font: 500 var(--fs-ui)/1 "Poppins";
    border: 1px solid var(--ink);
    background: var(--ink);
    color: #fff;
    cursor: pointer;
    transition: 0.25s;
}

#authentication .btn:hover,
#registration .btn:hover {
    background: var(--btn-hover);
    border-color: var(--btn-hover);
}

#authentication .btn--ghost,
#registration .btn--ghost {
    background: transparent;
    color: var(--ink);
}

#authentication .btn--ghost:hover,
#registration .btn--ghost:hover {
    background: var(--ink);
    color: #fff;
}

#authentication .link-u,
#registration .link-u {
    font-size: var(--fs-label);
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--ink);
}

#authentication .link-u:hover,
#registration .link-u:hover {
    color: var(--grey-mid);
    border-color: var(--grey-mid);
}

#authentication .ds-check,
#registration .ds-check {
    display: flex;
    gap: 13px;
    font-size: var(--fs-label);
    color: var(--ink-soft);
    cursor: pointer;
}

#authentication .ds-check input,
#registration .ds-check input {
    position: absolute;
    opacity: 0;
}

#authentication .ds-check .box,
#registration .ds-check .box {
    width: var(--check-size);
    height: var(--check-size);
    background: var(--line);
}

#authentication .ds-check input:checked ~ .box::after,
#registration .ds-check input:checked ~ .box::after {
    content: "";
    position: absolute;
    left: var(--check-dot-offset);
    top: var(--check-dot-offset);
    width: var(--check-dot);
    height: var(--check-dot);
    border-radius: 50%;
    background: var(--ink);
}

#authentication .form-status,
#registration .form-status {
    display: none;
    margin-top: 18px;
    padding: 14px 18px;
    background: var(--grey);
    border-left: 2px solid var(--ink);
}

#authentication .form-status.show,
#registration .form-status.show {
    display: block;
}

#authentication .ds-check.invalid,
#registration .ds-check.invalid {
     color: var(--error);
 }
#authentication .ds-check.invalid .box,
#registration .ds-check.invalid .box {
    outline: 1px solid var(--error) !important;
    outline-offset: 2px;
}


#authentication .form-floating.invalid .form-control,
#registration .form-floating.invalid .form-control {
    border-color: var(--error);
    color: var(--error);
}

#authentication .aside,
#registration .aside {
    position: sticky;
    top: 24px;
}

#authentication .ben,
#registration .ben {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

#authentication  .ben-list,
#registration  .ben-list {
     display: flex;
     flex-direction: column;
     margin-top: 20px;
     border-top: 1px solid var(--line);
 }

 #authentication  .ben:last-child,
 #registration  .ben:last-child {
     border-bottom: none;
     padding-bottom: 0;
 }

 #authentication  .ben .b-ic,
 #registration  .ben .b-ic {
     width: 30px;
     height: 30px;
     flex-shrink: 0;
     color: var(--ink);
 }

 #authentication  .ben .b-ic svg,
 #registration  .ben .b-ic svg {
     width: 30px;
     height: 30px;
 }

#authentication  .ben .b-tx b,
#registration  .ben .b-tx b {
     display: block;
     font-size: var(--fs-base);
     font-weight: 500;
     line-height: 1.15;
     margin-bottom: 0;
 }

#authentication  .ben .b-tx span,
#registration  .ben .b-tx span {
     font-size: var(--fs-label);
     line-height: 1.4;
     color: var(--ink-soft);
 }

#authentication .field-icon-btn,
#registration .field-icon-btn {
     position: absolute;
     right: 16px;
     top: 50%;
     transform: translateY(-50%);
     background: none;
     border: none;
     cursor: pointer;
     padding: 4px;
     z-index: 3;
     color: var(--ink);
     display: flex;
 }

#authentication .field-icon-btn svg,
#registration .field-icon-btn svg {
     width: 18px;
     height: 18px;
     fill: none !important;
}

#authentication p.alt-line,
#registration p.alt-line {
    text-align: center;
    font-size: var(--fs-ui);
    color: var(--ink-soft);
    margin-top: 18px;
}
#authentication .alt-line button,
#registration .alt-line button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: "Poppins";
    font-size: var(--fs-ui);
    color: var(--ink);
    font-weight: 500;
    border-bottom: 1px solid var(--ink);
    padding: 0 0 1px;
    transition: color 0.2s, border-color 0.2s;
}
#authentication .form-floating.invalid+.field-msg,
#registration .form-floating.invalid+.field-msg {
    display: block;
}
#authentication .field-msg,
#registration .field-msg {
    display: none;
    font-size: var(--fs-label);
    color: var(--error);
    padding: 5px var(--control-pad) 0;
}
#authentication .row-util,
#registration .row-util {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 16px;
}
#authentication .btn-wrap,
#registration .btn-wrap {
    margin-top: 24px;
}
#authentication .form-floating.invalid .form-control,
#registration .form-floating.invalid .form-control {
    border-color: var(--error);
    color: var(--error);
    z-index: 2;
}
 #authentication .bc-block,
 #registration .bc-block {
     padding-bottom: 0;
 }

 #authentication .bc-top,
 #registration .bc-top {
     display: flex;
     align-items: center;
     gap: 16px;
     margin-bottom: 14px;
 }

 #authentication .bc-top .b-ic,
 #registration .bc-top .b-ic {
     width: 30px;
     height: 30px;
     flex-shrink: 0;
     color: var(--ink);
 }

 #authentication .bc-top .b-ic svg,
 #registration .bc-top .b-ic svg {
     width: 30px;
     height: 30px;
 }

 #authentication .bc-top b,
 #registration .bc-top b {
     font-size: var(--fs-base);
     font-weight: 500;
 }

 #authentication .bc-perks,
 #registration .bc-perks {
     list-style: none;
     display: flex;
     flex-direction: column;
     gap: 11px;
 }

 #authentication .bc-perks li,
 #registration .bc-perks li {
     display: flex;
     align-items: flex-start;
     gap: 11px;
     font-size: var(--fs-label);
     line-height: 1.45;
     color: var(--ink-soft);
 }

 #authentication .bc-perks li .tk,
 #registration .bc-perks li .tk {
     width: 13px;
     height: 13px;
     margin-top: 2px;
     flex-shrink: 0;
 }

 #authentication .bc-perks li b,
 #registration .bc-perks li b {
     color: var(--ink);
     font-weight: 500;
 }
  #authentication .info-line,
  #registration .info-line {
     margin-top: 10px;
 }

  #authentication .info-btn,
  #registration .info-btn {
     display: inline-flex;
     align-items: center;
     gap: 7px;
     background: none;
     border: none;
     cursor: pointer;
     font-family: "Poppins";
     font-size: var(--fs-label);
     color: var(--ink-soft);
     padding: 0;
 }

  #authentication .info-btn:hover,
  #registration .info-btn:hover {
     color: var(--ink);
 }

 #authentication .info-btn .chev,
 #registration .info-btn .chev{
     width: 9px;
     height: 9px;
     transition: transform 0.2s ease;
 }

 #authentication .info-btn[aria-expanded="true"] .chev,
 #registration .info-btn[aria-expanded="true"] .chev {
     transform: rotate(180deg);
 }

#authentication .explain,
#registration .explain {
     overflow: hidden;
     max-height: 0;
     transition: max-height 0.3s ease;
 }

 #authentication .explain-inner,
 #registration .explain-inner {
     font-size: var(--fs-label);
     line-height: 1.55;
     color: var(--ink-soft);
     padding: 14px 0 2px;
     margin-top: 4px;
 }

 #authentication .explain-inner b,
 #registration .explain-inner b {
     color: var(--ink);
     font-weight: 500;
 }
 
  #authentication .checks,
  #registration .checks {
     display: flex;
     flex-direction: column;
     gap: 12px;
     margin-top: 24px;
 }

 #authentication .ds-check,
 #registration .ds-check {
     display: flex;
     align-items: flex-start;
     gap: 13px;
     cursor: pointer;
     font-size: var(--fs-label);
     line-height: 1.5;
     color: var(--ink-soft);
     text-align: start;
 }

  #authentication .ds-check input,
  #registration .ds-check input {
     position: absolute;
     opacity: 0;
     width: 0;
     height: 0;
 }

  #authentication .ds-check .box,
  #registration .ds-check .box {
     width: var(--check-size);
     height: var(--check-size);
     background: var(--line);
     flex-shrink: 0;
     position: relative;
     margin-top: 1px;
     transition: background 0.15s;
 }

  #authentication .ds-check input:checked~.box::after,
  #registration .ds-check input:checked~.box::after {
     content: "";
     position: absolute;
     left: var(--check-dot-offset);
     top: var(--check-dot-offset);
     width: var(--check-dot);
     height: var(--check-dot);
     border-radius: 50%;
     background: var(--ink);
 }

  #authentication .ds-check input:focus-visible~.box,
  #registration .ds-check input:focus-visible~.box {
     outline: 1px solid var(--ink);
     outline-offset: 2px;
 }

  #authentication .ds-check a,
  #registration .ds-check a {
     color: var(--ink);
     text-decoration: underline;
 }
#authentication .reveal-wrap,
#registration .reveal-wrap {
     overflow: hidden;
     max-height: 0;
     transition: max-height 0.32s ease;
 }

 #authentication .reveal-inner,
 #registration .reveal-inner {
     padding-top: 14px;
 }

 #authentication .ref-explain,
 #registration .ref-explain {
     font-size: var(--fs-label);
     line-height: 1.55;
     color: var(--ink-soft);
     margin-top: 10px;
 }

 #authentication .ref-explain b,
 #registration .ref-explain b {
     color: var(--ink);
     font-weight: 500;
 }

 #authentication .bc-more,
 #registration .bc-more {
     display: flex;
     align-items: center;
     gap: 8px;
     margin-top: 16px;
     font-size: var(--fs-ui);
     font-weight: 500;
     color: var(--ink);
     text-decoration: none;
     transition: color 0.2s;
 }

 #authentication .bc-more:hover,
 #registration .bc-more:hover {
     color: var(--grey-mid);
 }

 #authentication .bc-more .bc-more-arr,
 #registration .bc-more .bc-more-arr {
     width: 12px;
     height: 12px;
     flex-shrink: 0;
     transition: transform 0.2s ease;
 }

#authentication .bc-more:hover .bc-more-arr,
#registration .bc-more:hover .bc-more-arr {
     transform: translate(2px, -2px);
}

#authentication #main .page-content, #registration #main .page-content {
    margin-top: 100px;
}
 #authentication .aside-cta,
 #registration .aside-cta {
     margin-top: 24px;
     padding-top: 22px;
 }

#authentication  .aside-cta .ac-head,
#registration  .aside-cta .ac-head {
     display: block;
     font-size: var(--fs-ui);
     font-weight: 500;
     margin-bottom: 14px;
 }
#authentication .cg-options,
#registration .cg-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 12px;
}
#authentication .cg-options .ds-check,
#registration .cg-options .ds-check {
    align-items: center;
}
#authentication .consent-group .cg-head,
#registration .consent-group .cg-head {
    display: block;
    font-size: var(--fs-label);
    line-height: 1.5;
    color: var(--ink-soft);
}
 .pw-strength {
     display: none;
     align-items: center;
     gap: 10px;
     padding: 8px var(--control-pad) 0;
 }

 .pw-strength.show {
     display: flex;
 }

 .pw-bar {
     flex: 1;
     height: 3px;
     background: var(--line);
     position: relative;
     overflow: hidden;
 }

 .pw-bar span {
     position: absolute;
     left: 0;
     top: 0;
     bottom: 0;
     width: 0;
     background: var(--ink);
     transition: width 0.25s ease, background 0.25s ease;
 }

 .pw-label {
     font-size: var(--fs-label);
     color: var(--ink-soft);
     min-width: 48px;
 }

 .pw-strength[data-level="1"] .pw-bar span {
     width: 33%;
     background: var(--error);
 }

 .pw-strength[data-level="2"] .pw-bar span {
     width: 66%;
     background: #9D9D9D;
 }

 .pw-strength[data-level="3"] .pw-bar span {
     width: 100%;
     background: var(--ink);
 }

@media (max-width: 880px) {
    #authentication,
    #registration {
        --control-h: 60px;
        --check-size: 20px;
        --check-dot: 8.57px;
        --check-dot-offset: 5.715px;
    }

    #authentication .grid,
    #registration .grid {
        grid-template-columns: 1fr;
    }

    #authentication .aside,
    #registration .aside {
        position: static;
    }
}

@media (max-width: 520px) {
    #authentication,
    #registration {
        padding: 32px 16px;
    }

    #authentication .card-body,
    #registration .card-body {
        padding: 22px 18px;
    }

    #authentication .card-head,
    #registration .card-head {
        padding: 18px;
    }

    #authentication .form-row,
    #registration .form-row {
        grid-template-columns: 1fr;
    }
}
 .cal-pop {
     position: absolute;
     top: calc(100% + 6px);
     right: 0;
     z-index: 60;
     width: 280px;
     background: #fff;
     border: 1px solid var(--ink);
     padding: 16px;
     box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
 }

 .cal-pop[hidden] {
     display: none;
 }

 .cal-head {
     display: flex;
     align-items: center;
     gap: 8px;
     margin-bottom: 12px;
 }

 .cal-nav {
     width: 30px;
     height: 30px;
     flex-shrink: 0;
     display: flex;
     align-items: center;
     justify-content: center;
     background: none;
     border: 1px solid var(--line);
     cursor: pointer;
     color: var(--ink);
     transition: border-color 0.15s, background 0.15s;
 }

 .cal-nav:hover {
     border-color: var(--ink);
     background: var(--grey);
 }

 .cal-nav svg {
     width: 9px;
     height: 9px;
 }

 .cal-selects {
     flex: 1;
     display: flex;
     gap: 6px;
 }

 .cal-selects select {
     flex: 1;
     height: 34px;
     border: 1px solid var(--line);
     background: #fff;
     font-family: "Poppins";
     font-size: var(--fs-ui);
     color: var(--ink);
     padding: 0 6px;
     cursor: pointer;
     -webkit-appearance: none;
     appearance: none;
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath d='M1 2.5L4 5.5L7 2.5' stroke='%23000' fill='none'/%3E%3C/svg%3E");
     background-repeat: no-repeat;
     background-position: right 8px center;
     padding-right: 22px;
 }

 .cal-selects select:focus {
     outline: none;
     border-color: var(--ink);
 }

 .cal-grid {
     display: grid;
     grid-template-columns: repeat(7, 1fr);
     gap: 2px;
 }

 .cal-dow {
     font-size: 10px;
     font-weight: 500;
     color: var(--grey-mid);
     text-align: center;
     height: 26px;
     display: flex;
     align-items: center;
     justify-content: center;
     letter-spacing: 0.02em;
 }

 .cal-day {
     height: 32px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-family: "Poppins";
     font-size: var(--fs-ui);
     color: var(--ink);
     background: none;
     border: none;
     cursor: pointer;
     transition: background 0.12s, color 0.12s;
 }

 .cal-day:hover {
     background: var(--grey);
 }

 .cal-day.is-empty {
     pointer-events: none;
 }

 .cal-day.is-selected {
     background: var(--ink);
     color: #fff;
 }

 .cal-day:disabled {
     color: var(--disabled);
     pointer-events: none;
 }

 .cal-day:focus-visible {
     outline: 2px solid var(--ink);
     outline-offset: -2px;
 } */