/* Shared auth shell styles for Login / ForgetPassword / ResetPassword /
   ValidateOTP / ValidateEmailPhone. Centered card on a dark gradient. */

html, body {
    height: 100%;
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
}

.auth-shell {
    min-height: 100vh;
    background: radial-gradient(circle at top left, #2b2b5c 0%, #20203E 45%, #14142b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 16px;
    position: relative;
    overflow: hidden;
}

.auth-shell::before {
    content: "";
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(245, 197, 24, 0.08);
    filter: blur(60px);
}

.auth-shell::after {
    content: "";
    position: absolute;
    bottom: -180px;
    left: -120px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(79, 144, 255, 0.08);
    filter: blur(60px);
}

.auth-rodic {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 2;
}

.auth-rodic img {
    height: 42px;
    width: 42px;
}

.auth-back {
    position: absolute;
    top: 28px;
    left: 28px;
    color: #c5c5d8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
    transition: color 0.2s ease;
}

.auth-back:hover {
    color: #f5c518;
    text-decoration: none;
}

.auth-card {
    background: rgba(30, 30, 60, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 460px;
    padding: 40px 36px 32px;
    color: #fff;
    position: relative;
    z-index: 2;
}

.auth-brand {
    text-align: center;
    margin-bottom: 22px;
}

.auth-brand img {
    height: 84px;
    width: 84px;
}

.auth-brand h2 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 12px 0 4px;
    letter-spacing: 0.3px;
}

.auth-brand p {
    color: #b7b7cc;
    font-size: 0.92rem;
    margin: 0;
}

.auth-card .input-group {
    margin-bottom: 14px;
}

.auth-card .form-control {
    height: 44px;
    border-radius: 6px 0 0 6px;
    border: 1px solid #d6d6e0;
}

.auth-card .input-group > .form-control:last-child,
.auth-card .form-control.only-field {
    border-radius: 6px;
}

.auth-card .input-group-text {
    border-radius: 0 6px 6px 0;
    background: #f5f5fa;
    border: 1px solid #d6d6e0;
    color: #4a4a6a;
}

.auth-card .login-box-msg {
    color: #c5c5d8;
    font-size: 0.95rem;
    margin-bottom: 16px;
    text-align: center;
}

.auth-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4px 0 18px;
    font-size: 0.9rem;
}

.auth-row label {
    margin: 0;
    color: #c5c5d8;
    cursor: pointer;
}

.auth-row input[type="checkbox"] {
    margin-right: 6px;
    vertical-align: middle;
}

.btn-link-forgot {
    background: transparent;
    border: none;
    color: #f5c518;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0;
    cursor: pointer;
}

.btn-link-forgot:hover {
    color: #ffd84a;
    text-decoration: underline;
}

.auth-buttons {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.auth-buttons .btn,
.auth-card .btn-auth {
    flex: 1;
    height: 44px;
    font-weight: 700;
    border-radius: 8px;
    font-size: 0.95rem;
}

.btn-primary-yellow {
    background: #f5c518;
    color: #20203E;
    border: none;
}

.btn-primary-yellow:hover {
    background: #ffd84a;
    color: #20203E;
}

.btn-outline-yellow {
    background: transparent;
    color: #f5c518;
    border: 1px solid #f5c518;
}

.btn-outline-yellow:hover {
    background: rgba(245, 197, 24, 0.12);
    color: #ffd84a;
}

.btn-block-yellow {
    width: 100%;
    background: #f5c518;
    color: #20203E;
    border: none;
    height: 44px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.btn-block-yellow:hover {
    background: #ffd84a;
    color: #20203E;
}

.lockSt {
    display: none !important;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 30px 22px 24px;
    }

    .auth-buttons {
        flex-direction: column;
    }

    .auth-back span {
        display: none;
    }
}
