*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    background: #F8FAFB;
    color: #0F2A3D;
    font-family: Rubik, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.wrap {
    min-height: 100%;
}

.stage {
    max-width: 1230px;
    margin: 0 auto;
    padding: 48px 16px 24px;
    display: flex;
    align-items: center;
    gap: 32px;
    min-height: calc(100vh - 72px);
}

.col-left,
.col-right {
    flex: 1 1 0;
}

.col-left {
    display: none;
}

.left-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 40px;
}

.logo {
    margin-right: 60px;
    width: 250px;
    height: 250px;
}

.vline {
    width: 1px;
    height: 60vh;
    background: #E6EBF1;
    opacity: 0.9;
}

.card-auth {
    width: 420px;
    max-width: 520px;
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    background: none;
    max-height: calc(100vh - 140px);
}

.card-auth.is-locked form .form-item,
.card-auth.is-locked form button,
.card-auth.is-locked form a.btn,
.card-auth.is-locked form .social-icon,
.card-auth.is-locked form .hr-txt,
.card-auth.is-locked form small,
.card-auth.is-locked form .d-flex {
    display: none !important;
}

/* NOTICES / LOYALTY */
.shiphead__warn,
.shipmeta__warn {
    display: flex;
    gap: 10px;
    align-items: center;
    border: 1px solid #F9D4D4;
    background: #FDECEC;
    border-radius: 8px;
    padding: 12px;
}

.shiphead__warn {
    display: flex;
    gap: 12px;
    align-items: flex-start;

    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid #F76F6F;
    background: #FEECEC;
}

.shiphead__warn-ico {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    margin-top: 2px;
}

.shiphead__warn-content {
    min-width: 0;
}

.shiphead__warn-head {
    display: flex;
    gap: 8px;
    align-items: baseline;
    margin-bottom: 4px;
}

.shiphead__warn-label {
    font-weight: 700;
    font-size: 14px;
    color: #0E2B44;
}

.shiphead__warn-title {
    font-weight: 700;
    font-size: 14px;
    color: #0E2B44;
}

.shiphead__warn-txt {
    font-size: 14px;
    line-height: 1.4;
    color: #0E2B44;
}

.notice.notice--info {
    display: flex;
    gap: 11px;
    align-items: center;
    max-width: 570px;
    padding: 10px 12px;
    border: 1px solid #BBDDFF;
    background: #F4F9FF;
    color: #0E2B44;
    border-radius: 8px;
    margin-top: 20px;
}

.notice.notice--info img[aria-hidden="true"] {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 2px;
}

.notice__title {
    font-weight: 700;
    line-height: 1.2;
    font-size: 16px;
}

.notice__text {
    color: #0E2B44;
    line-height: 1.3;
    font-size: 14px;
}


h1.h-auth {
    margin: 0 0 36px;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0.2px;
}

.form-item {
    margin-bottom: 20px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
}

.form-control {
    height: 44px;
    border-color: #EAEFF4;
    font-size: 14px;
    font-weight: 400;
}

.form-control::placeholder {
    color: #8AA3B9;
}

/* ===== Buttons ===== */
.button-login,
.button-login:disabled {
    width: 100%;
    height: 44px;
    margin-top: 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-login {
    background: #FFB800;
    color: #0E2F4B;
}

.button-login:hover {
    background: #FFCF4D;
    color: #0E2F4B;
}

.button-login:disabled {
    background: #EAEFF4;
    color: #94A2AF;
}

.btn-brand {
    width: 100%;
    height: 44px;
    background: #FFB800;
    color: #1B1B1B;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-brand:hover {
    background: #FFCF4D;
    color: #0E2F4B;
}

.btn-o {
    height: 44px;
    background: #FFF;
    border: 1px solid #D8DEE6;
    border-radius: 6px;
}

.btn-o:hover {
    background: #F8FAFB;
    border-color: #94A2AF;
}

.link-small {
    font-size: 14px;
    text-decoration: none;
}

.link-small:hover {
    text-decoration: underline;
}

small {
    display: block;
    margin: 14px 0 24px;
}

.muted {
    color: #8B99A7;
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.hr-txt {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0 25px;
    font-size: 12px;
    line-height: 16px;
}

.hr-txt::before,
.hr-txt::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #E6EBF1;
}

/* ===== Footer / mobile header ===== */
.footer-wrap {
    width: 100%;
    background: #FFF;
}

.logo-mob {
    display: block;
    width: 220px;
    margin: 0 auto 18px;
}

.mobile-bar {
    display: flex;
    align-items: center;
    height: 56px;
    padding: 0 20px;
    background: #FFF;
}

.mobile-bar img {
    width: 140px;
    height: 38px;
}

/* ===== Responsive ===== */
@media (min-width: 992px) {
    .col-left {
        display: flex;
    }

    .logo-mob {
        display: none;
    }

    .mobile-bar {
        display: none;
    }
}

@media (min-width: 576px) {
    .card-auth {
        padding: 32px 36px;
    }
}

@media (max-width: 991.98px) {
    .stage {
        padding: 16px 12px 72px;
    }

    h1.h-auth {
        margin-bottom: 24px;
    }

    .card-auth {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        padding: 122px 16px 24px;
        border: 1px solid #F8FAFB;
        border-radius: 12px;
    }
}

@keyframes autofillStart { from { } to { } }
@keyframes autofillCancel { from { } to { } }

input:-webkit-autofill {
  animation-name: autofillStart;
  animation-duration: 0.01s;
}

input:not(:-webkit-autofill) {
  animation-name: autofillCancel;
  animation-duration: 0.01s;
}



/* ===== Mini top banner above header ===== */
.top-mini-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: #FFFBF1;
  border-bottom: 1px solid #E6EDF1;
  z-index: 1031;
  display: flex;
  align-items: center;
}

.top-mini-banner__link {
  width: 100%;
  height: 12px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #0E2B44;
  font-size: 13px;
  line-height: 1;
}

.top-mini-banner__link:hover {
  background: #F3F6F8;
}

.top-mini-banner__ico,
.top-mini-banner__arrow {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.top-mini-banner__text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auth-header {
  top: 28px;
}

.main-wrapper {
  padding-top: calc(32px + 90px + 28px);
}

/* 3) sidebar також опускаємо */
.sidebar {
  top: calc(90px + 28px);
}

/* 4) якщо хочеш щоб тости не налазили на банер */
#toast-container {
  top: calc(100px + 28px);
}

/* Mobile: менший горизонтальний паддінг */
@media (max-width: 575.98px) {
  .top-mini-banner__link {
    padding: 0 16px;
  }
}