/* Varna Home - account auth (login / register) */
.vh-auth {
    --vh-accent: #40a2da;
    --vh-accent-dark: #2e86b6;
    --vh-ink: #162229;
    padding: 48px 0 72px;
}

.vh-auth * {
    box-sizing: border-box;
}

.vh-auth__card {
    display: flex;
    max-width: 960px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(22, 34, 41, .16), 0 2px 8px rgba(22, 34, 41, .06);
}

.vh-auth__brand {
    position: relative;
    flex: 0 0 42%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 560px;
    padding: 48px 44px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 82% 10%, rgba(64, 162, 218, .50), transparent 46%),
        radial-gradient(circle at 8% 92%, rgba(64, 162, 218, .22), transparent 42%),
        linear-gradient(150deg, #1d3442 0%, #162229 58%, #0f191f 100%);
}

.vh-auth__brand::before,
.vh-auth__brand::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 50%;
    pointer-events: none;
}

.vh-auth__brand::before {
    top: -90px;
    right: -110px;
    width: 300px;
    height: 300px;
}

.vh-auth__brand::after {
    top: -20px;
    right: -40px;
    width: 140px;
    height: 140px;
    border-color: rgba(255, 255, 255, .08);
}

.vh-auth__wordmark {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .2px;
    color: #fff;
    text-decoration: none;
}

.vh-auth__wordmark:hover,
.vh-auth__wordmark:focus {
    color: #fff;
    text-decoration: none;
}

.vh-auth__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 18px;
    color: #fff;
    background: linear-gradient(135deg, #40a2da, #2c86bb);
    box-shadow: 0 10px 24px rgba(64, 162, 218, .35);
}

.vh-auth__brand-body {
    position: relative;
    z-index: 1;
    max-width: 300px;
}

.vh-auth__accent {
    display: block;
    width: 44px;
    height: 3px;
    margin: 0 0 18px;
    border-radius: 2px;
    background: var(--vh-accent);
}

.vh-auth__brand-body h2 {
    margin: 0 0 14px;
    font-size: 30px;
    line-height: 1.22;
    font-weight: 700;
    color: #fff;
}

.vh-auth__brand-body p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .68);
}

.vh-auth__panel {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 52px 56px;
    background: #fff;
}

.vh-auth__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
    border-radius: 14px;
    font-size: 18px;
    color: var(--vh-accent-dark);
    background: #eaf4fb;
}

.vh-auth__title {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 700;
    color: #22313a;
}

.vh-auth__subtitle {
    margin: 0 0 26px;
    font-size: 14px;
    color: #93a1ab;
}

.vh-field {
    margin-bottom: 18px;
}

.vh-field__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: #6c7a85;
}

.vh-field__control {
    position: relative;
}

.vh-field__control > i {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    font-size: 15px;
    color: #9fb0bb;
    pointer-events: none;
}

.vh-field__control .form-control {
    height: 50px;
    padding: 0 46px 0 44px;
    font-size: 14.5px;
    color: #22313a;
    background: #f9fbfc;
    border: 1px solid #dfe7ec;
    border-radius: 12px;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.vh-field__control .form-control:focus {
    background: #fff;
    border-color: var(--vh-accent);
    box-shadow: 0 0 0 3px rgba(64, 162, 218, .16);
}

.vh-field__toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    font-size: 15px;
    color: #9fb0bb;
    background: none;
    cursor: pointer;
}

.vh-field__toggle:hover,
.vh-field__toggle:focus {
    color: var(--vh-accent-dark);
    background: #eef7fc;
    outline: 0;
}

.vh-field__link {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--vh-accent-dark);
    text-decoration: none;
}

.vh-field__link:hover,
.vh-field__link:focus {
    color: #1f6e99;
    text-decoration: underline;
}

.vh-auth .alert {
    padding: 12px 16px;
    margin-bottom: 20px;
    border: 0;
    border-radius: 12px;
    font-size: 13.5px;
}

.vh-auth .alert-danger {
    color: #a12f2f;
    background: #fdecec;
}

.vh-auth .alert-success {
    color: #1d6b43;
    background: #e8f6ee;
}

.vh-turnstile {
    display: flex;
    justify-content: center;
}

.cf-turnstile-holder {
    margin: 10px 0;
}

.vh-auth__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    margin-top: 6px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .2px;
    color: #fff;
    background: linear-gradient(135deg, #ff9b22 0%, #ff8c00 100%);
    box-shadow: 0 12px 24px rgba(255, 140, 0, .28);
    transition: transform .15s ease, box-shadow .15s ease;
}

.vh-auth__submit:hover,
.vh-auth__submit:focus {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(255, 140, 0, .34);
    outline: 0;
}

.vh-auth__divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 26px 0 18px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #a4b1ba;
}

.vh-auth__divider::before,
.vh-auth__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e8eef2;
}

.vh-auth__alt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    border: 1px solid #dfe7ec;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--vh-accent-dark);
    background: #fff;
    text-decoration: none;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.vh-auth__alt:hover,
.vh-auth__alt:focus {
    color: #1f6e99;
    background: #f4fafe;
    border-color: var(--vh-accent);
    text-decoration: none;
}

.vh-auth__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--vh-accent-dark);
    text-decoration: none;
}

.vh-auth__back:hover,
.vh-auth__back:focus {
    color: #1f6e99;
    text-decoration: underline;
}

@media (max-width: 991px) {
    .vh-auth {
        padding: 40px 0 64px;
    }

    .vh-auth__brand {
        min-height: 520px;
        padding: 40px 34px;
    }

    .vh-auth__brand-body h2 {
        font-size: 26px;
    }

    .vh-auth__panel {
        padding: 44px 38px;
    }
}

@media (max-width: 767px) {
    .vh-auth {
        padding: 32px 0 56px;
    }

    .vh-auth__card {
        display: block;
        max-width: 520px;
        border-radius: 16px;
    }

    .vh-auth__brand {
        display: none;
    }

    .vh-auth__panel {
        padding: 38px 28px 34px;
    }
}

@media (max-width: 480px) {
    .vh-auth {
        padding: 24px 0 44px;
    }

    .vh-auth__panel {
        padding: 32px 20px 28px;
    }

    .vh-auth__title {
        font-size: 23px;
    }
}
/* Varna Home - header login modal */
.vh-modal .modal-dialog {
    width: auto;
    max-width: 440px;
    margin: 48px auto;
}

.vh-modal .modal-content {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    color: #22313a;
    background: #fff;
    box-shadow: 0 28px 70px rgba(22, 34, 41, .24), 0 2px 8px rgba(22, 34, 41, .08);
}

.vh-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 400;
    line-height: 34px;
    text-align: center;
    color: #93a1ab;
    text-shadow: none;
    opacity: 1;
    background: #f1f7fa;
    transition: background-color .18s ease, color .18s ease;
}

.vh-modal__close:hover,
.vh-modal__close:focus {
    color: #22313a;
    background: #e6eff5;
    outline: 0;
}

.vh-modal__head {
    padding: 34px 34px 0;
}

.vh-modal__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 14px;
    font-size: 18px;
    color: #2e86b6;
    background: #eaf4fb;
}

.vh-modal__head .modal-title {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    color: #22313a;
}

.vh-modal__subtitle {
    margin: 0 0 22px;
    font-size: 14px;
    color: #93a1ab;
}

.vh-modal .modal-body {
    padding: 0 34px 32px;
}

.vh-modal__social {
    margin-bottom: 24px;
    text-align: center;
}

.vh-modal__social-label {
    margin: 0 0 12px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: #a4b1ba;
}

.vh-modal__social-btns {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.vh-modal__social-btns img {
    width: auto;
    max-height: 38px;
}

.vh-modal__turnstile {
    margin: 2px 0 16px;
}

.vh-modal .vh-auth__submit {
    margin-top: 4px;
}

@media (max-width: 480px) {
    .vh-modal .modal-dialog {
        max-width: none;
        margin: 12px;
    }

    .vh-modal__head {
        padding: 28px 22px 0;
    }

    .vh-modal .modal-body {
        padding: 0 22px 26px;
    }

    .vh-modal__head .modal-title {
        font-size: 21px;
    }

    .vh-modal__badge {
        width: 42px;
        height: 42px;
        margin-bottom: 14px;
    }
}
