.stonegate-auth-page {
    align-items: center;
    background:
        radial-gradient(circle at 50% 18%, rgba(189, 157, 93, 0.18), transparent 30%),
        linear-gradient(135deg, #140f0f 0%, #281016 42%, #411d22 100%);
    color: #f5ecdc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    padding: 48px 20px;
}

.stonegate-auth-with-nav {
    background: #411d22;
}

.stonegate-auth-with-nav .stonegate-auth-wrapper {
    background: #411d22 !important;
    overflow: visible !important;
}

.stonegate-auth-with-nav .stonegate-auth-page {
    min-height: calc(100vh - 42px);
    padding-bottom: 34px;
    padding-top: 38px;
}

.stonegate-auth-with-nav .main-header .menu-area {
    align-items: center;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.stonegate-auth-with-nav .main-header .navbar-collapse.show {
    visibility: visible !important;
}

.stonegate-auth-with-nav .main-header .main-menu .navigation {
    align-items: center;
    display: flex;
    justify-content: center;
    visibility: visible;
}

.stonegate-auth-with-nav .stonegate-auth-logo-wrap {
    margin-bottom: 18px;
}

.stonegate-auth-with-nav .mobile-menu .navigation li.dropdown.auth-mobile-open > ul,
.stonegate-auth-with-nav .mobile-menu .navigation li.dropdown.auth-mobile-open > .megamenu {
    display: block;
}

.stonegate-auth-logo-wrap {
    margin-bottom: 28px;
    text-align: center;
}

.stonegate-auth-logo-link {
    display: inline-flex;
}

.stonegate-auth-logo {
    display: block;
    height: auto;
    max-width: 300px;
    width: min(300px, 78vw);
}

.stonegate-auth-title {
    color: #f5ecdc;
    font-family: var(--title-font);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.12;
    text-align: center;
}

.stonegate-auth-card {
    background: #fbf2df;
    border: 1px solid rgba(189, 157, 93, 0.34);
    border-radius: 4px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
    font-family: var(--text-font);
    max-width: 456px;
    overflow: hidden;
    padding: 34px;
    width: 100%;
}

.stonegate-auth-card label,
.stonegate-auth-card .text-gray-600,
.stonegate-auth-card .text-gray-700 {
    color: #34191d;
}

.stonegate-auth-card input[type="email"],
.stonegate-auth-card input[type="password"] {
    background-color: #fffaf0;
    border-color: rgba(65, 29, 34, 0.2);
    border-radius: 3px;
    color: #140f0f;
    min-height: 46px;
}

.stonegate-auth-card input[type="email"]:focus,
.stonegate-auth-card input[type="password"]:focus {
    border-color: #bd9d5d;
    box-shadow: 0 0 0 3px rgba(189, 157, 93, 0.24);
}

.stonegate-auth-card input[type="checkbox"] {
    border-color: rgba(65, 29, 34, 0.35);
    color: #bd9d5d;
}

.stonegate-auth-card a {
    color: #411d22;
}

.stonegate-auth-card a:hover {
    color: #8e6f32;
}

.stonegate-auth-card button[type="submit"] {
    background-color: #bd9d5d;
    border-radius: 3px;
    color: #140f0f;
}

.stonegate-auth-card button[type="submit"]:hover,
.stonegate-auth-card button[type="submit"]:focus {
    background-color: #d7bb74;
    color: #140f0f;
}

@media (max-width: 575px) {
    .stonegate-auth-page {
        padding: 32px 16px;
    }

    .stonegate-auth-with-nav .stonegate-auth-page {
        min-height: calc(100vh - 36px);
        padding-bottom: 24px;
        padding-top: 36px;
    }

    .stonegate-auth-card {
        padding: 26px 22px;
    }
}
