/* --- AUTH WRAPPER --- */

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 100px 20px;
}

.auth-container {
    width: 100%;
    max-width: 480px;
    position: relative;
}

.auth-box {
    background: #ffffff;
    padding: 50px;
    border-radius: 40px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.05);
    text-align: center;
}


/* --- RGB PROGRESS BAR --- */

.rgb-loader {
    height: 4px;
    width: 60%;
    margin: 0 auto 20px;
    border-radius: 10px;
    background: linear-gradient(90deg, #ff3b30, #34c759, #007aff);
}


/* --- HEADERS --- */

.auth-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.bg-blue {
    background: #007aff;
    box-shadow: 0 10px 20px rgba(0, 122, 255, 0.2);
}

.bg-green {
    background: #34c759;
    box-shadow: 0 10px 20px rgba(52, 199, 89, 0.2);
}

.auth-header h1 {
    font-size: 2.2rem;
    color: #1e293b;
    margin-bottom: 10px;
}

.auth-header p {
    color: #64748b;
    margin-bottom: 40px;
    font-size: 0.95rem;
}


/* --- FORM ELEMENTS --- */

.auth-form {
    text-align: left;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    font-weight: 700;
    font-size: 13px;
    color: #1e293b;
    margin-bottom: 8px;
}

.input-field {
    position: relative;
}

.input-field i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.input-field input {
    padding-left: 45px !important;
}

.auth-form input {
    width: 100%;
    padding: 14px 20px;
    border-radius: 14px;
    border: 2px solid #f1f5f9;
    background: #f8fafc;
    font-family: inherit;
    transition: 0.3s;
}

.auth-form input:focus {
    border-color: #007aff;
    background: white;
    outline: none;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}


/* --- BUTTONS --- */

.btn-auth-blue,
.btn-auth-green {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    border: none;
    color: white;
    font-weight: 800;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.4s;
}

.btn-auth-blue {
    background: #007aff;
    box-shadow: 0 10px 20px rgba(0, 122, 255, 0.2);
}

.btn-auth-blue:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 122, 255, 0.3);
}

.btn-auth-green {
    background: #34c759;
    box-shadow: 0 10px 20px rgba(52, 199, 89, 0.2);
}

.btn-auth-green:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(52, 199, 89, 0.3);
}


/* --- ALERT MESSAGES --- */

.alert {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: left;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}


/* --- FOOTER --- */

.auth-footer {
    margin-top: 30px;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
    font-size: 14px;
}

/* ========================================
   MOBILE RESPONSIVE STYLES FOR AUTH
   ======================================== */

/* Tablets (768px and below) */
@media (max-width: 768px) {
    .auth-wrapper {
        padding: 120px 0 60px;
        min-height: auto;
    }
    
    .auth-card {
        padding: 40px;
        max-width: 90%;
    }
    
    .auth-header h1 {
        font-size: 2rem;
    }
    
    .auth-header p {
        font-size: 1rem;
    }
}

/* Mobile phones (640px and below) */
@media (max-width: 640px) {
    .auth-card {
        padding: 30px 25px;
        border-radius: 24px;
    }
    
    .auth-header {
        margin-bottom: 30px;
    }
    
    .auth-header h1 {
        font-size: 1.8rem;
    }
    
    .form-group label {
        font-size: 14px;
    }
    
    .form-group input {
        padding: 14px 16px;
        font-size: 16px;
    }
    
    .btn-auth {
        padding: 14px;
        font-size: 1rem;
    }
}

/* Small phones (480px and below) */
@media (max-width: 480px) {
    .auth-wrapper {
        padding: 100px 0 40px;
    }
    
    .auth-card {
        padding: 25px 20px;
        border-radius: 20px;
    }
    
    .auth-header h1 {
        font-size: 1.5rem;
    }
    
    .auth-header p {
        font-size: 14px;
    }
    
    .social-auth {
        flex-direction: column;
    }
    
    .btn-social {
        width: 100%;
        justify-content: center;
    }
    
    .auth-footer {
        font-size: 13px;
    }
}

.auth-footer a {
    font-weight: 800;
    text-decoration: none;
}

/* Text colors for links */
.text-blue {
    color: #007aff;
}

.text-green {
    color: #34c759;
}

.text-red {
    color: #ff3b30;
}











