/* ================= MODERN AUTH THEME ================= */

body {
    background-color: #0B0E17 !important; /* Deep dark background */
}

.signup-wrapper {
    background: none !important;
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Centralized Modern Floating Card */
.auth-card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 120px);
}

.auth-card {
    background: #191E2D; /* Modern dark card background */
    border: 1px solid rgba(0, 240, 255, 0.12);
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    max-width: 950px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

/* Ambient Radial Glow Effect */
.auth-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.08) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

/* LEFT SIDE: FORM STYLING */
.login-left {
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    z-index: 1;
    width: 100%;
}

.login-logo {
    position: static !important;
    margin-bottom: 25px;
    display: flex;
    justify-content: flex-start;
}

.login-logo img {
    height: auto;
    max-height: 70px;
    object-fit: contain;
}

.brand-small {
    color: #d6a84a;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
    display: block;
}

.login-left h2 {
    font-size: 25px;
    line-height: 1.25;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(95deg, #ffffff 30%, #878787 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-desc {
    font-size: 14px;
    color: #878787;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Form Controls & Inputs */
.login-label {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.login-input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 8px;
    color: #ffffff !important;
    padding: 12px 45px 12px 18px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.login-input::placeholder {
    color: rgba(135, 135, 135, 0.6) !important;
}

.login-input:focus {
    background-color: rgba(255, 255, 255, 0.07);
    border-color: #d6a84a;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
    outline: none;
}

.password-wrapper {
    position: relative;
}

.password-wrapper i.toggle-password {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #878787;
    cursor: pointer;
    z-index: 2;
    transition: color 0.2s;
}

.password-wrapper i.toggle-password:hover {
    color: #d6a84a;
}

/* Custom Checkbox */
.custom-checkbox-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 20px;
    font-size: 14px;
}

.custom-checkbox-v2 input {
    display: none;
}

.custom-checkbox-v2 label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #878787;
}

.custom-checkbox-v2 label span {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0, 240, 255, 0.3);
    border-radius: 4px;
    position: relative;
    display: inline-block;
    transition: border-color 0.2s;
}

.custom-checkbox-v2 input:checked + label span {
    border-color: #d6a84a;
    background-color: rgba(0, 240, 255, 0.1);
}

.custom-checkbox-v2 input:checked + label span::after {
    content: "✓";
    font-size: 11px;
    position: absolute;
    top: -2px;
    left: 3px;
    color: #d6a84a;
    font-weight: bold;
}

.forgot-link {
    color: #d6a84a;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: opacity 0.2s;
}

.forgot-link:hover {
    opacity: 0.8;
    color: #d6a84a;
}

.login-btn {
    width: 100%;
    background: linear-gradient(95deg, #d6cb4a, #d09d34);
    border: none;
    border-radius: 53px;
    padding: 12px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.35);
    transition: all 0.3s ease;
}

.login-btn:hover {
    box-shadow: 0 6px 25px rgba(0, 240, 255, 0.5);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Bottom Text */
.bottom-text {
    color: #878787;
    font-size: 14px;
}

.bottom-text a {
    color: #d6a84a;
    text-decoration: none;
    font-weight: 600;
    margin-left: 4px;
}

.bottom-text a:hover {
    text-decoration: underline;
}

/* Error Labels */
.text-danger, 
label.error {
    color: #ff4d4d !important;
    font-size: 13px;
}

/* RIGHT SIDE: IMAGE SHOWCASE */
.signup-right {
    padding: 0 !important;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-right-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth_right_image {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 0 25px rgba(0, 240, 255, 0.35));
    transition: transform 0.3s ease;
}

/* ================= MEDIA QUERIES ================= */

@media (max-width: 991px) {
    .auth-card {
        grid-template-columns: 1fr;
        padding: 40px 30px;
        max-width: 520px;
    }

    .signup-right {
        display: none; /* Hide image side on smaller screens for focus */
    }

    .login-logo {
        justify-content: center;
    }

    .login-left h2 {
        text-align: center;
        font-size: 26px;
    }

    .brand-small, 
    .login-desc {
        text-align: center;
    }
}

@media (max-width: 579px) {
    .auth-card {
        padding: 30px 20px;
    }

    .login-left h2 {
        font-size: 24px;
    }
}