/* ==========================================================================
   AUTHENTICATION PAGES (LOGIN/REGISTER) STYLES
   ========================================================================== */

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 120px 20px 60px 20px;
    background-color: #000;
}

.auth-container {
    width: 100%;
    max-width: 1000px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
}

/* Visual Side (Left) */
.auth-visual {
    background: linear-gradient(135deg, #000000 0%, #111111 100%);
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.auth-visual-content {
    position: relative;
    z-index: 2;
}

.auth-logo-large {
    width: 160px;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 30px rgba(0, 255, 102, 0.3));
}

.auth-visual h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: -2px;
}

.auth-visual p {
    font-size: 1rem;
    color: #888;
    font-weight: 300;
    line-height: 1.6;
    max-width: 250px;
}

/* Form Side (Right) */
.auth-form-side {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-header-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.auth-header-text p {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 30px;
}

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

.auth-label {
    display: block;
    color: #888;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 10px;
}

.auth-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 16px 20px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fix browser autofill turning inputs white */
.auth-input:-webkit-autofill,
.auth-input:-webkit-autofill:hover, 
.auth-input:-webkit-autofill:focus, 
.auth-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #0a0a0a inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

.auth-input:focus {
    outline: none;
    border-color: #00FF66;
    background: rgba(0, 255, 102, 0.03);
    box-shadow: 0 0 0 4px rgba(0, 255, 102, 0.1);
}

.auth-input.error {
    border-color: #ff453a;
}

.auth-error-text {
    color: #ff453a;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
    display: block;
    font-weight: 600;
}

/* Submit Button */
.auth-submit-btn {
    width: 100%;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 999px;
    padding: 18px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    margin-bottom: 25px;
}

.auth-submit-btn:hover {
    background: #00FF66;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 255, 102, 0.3);
}

.auth-footer-text {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.auth-link {
    color: #00FF66;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.auth-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
    .auth-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    .auth-visual {
        display: none;
    }
    .auth-form-side {
        padding: 50px 30px;
    }
}
