/**
 * Authentication Pages Styles
 * Login, Password Reset, and related authentication pages
 */

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================
   Login Container
   ============================================ */
.login-container {
    display: flex;
    min-height: calc(100vh - 80px);
    flex: 1;
}

/* ============================================
   Left Panel (Branding & Info)
   ============================================ */
.left-panel {
    flex: 1;
    background: #000000;
    color: white;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.left-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.05)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.5;
}

.branding {
    position: relative;
    z-index: 1;
}

.branding h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.branding p {
    font-size: 18px;
    opacity: 0.9;
}

.feature-section {
    position: relative;
    z-index: 1;
    margin: 60px 0;
}

.feature-icon {
    margin-bottom: 30px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.feature-icon img {
    max-width: 350px;
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(1.1);
}

.feature-section h5 {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.9;
    text-align: left;
    margin: 0;
}

.contact-info {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

.contact-item i {
    font-size: 18px;
    width: 24px;
}

/* ============================================
   Right Panel (Login Form)
   ============================================ */
.right-panel {
    flex: 1;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 50px;
    width: 100%;
    max-width: 480px;
}

.login-header h2 {
    font-size: 32px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.login-header p {
    font-size: 16px;
    color: #666;
    margin-bottom: 35px;
}

/* ============================================
   Form Elements
   ============================================ */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
}

.form-control {
    padding: 12px 15px 12px 45px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
    outline: none;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
}

.password-toggle:hover {
    color: #dc3545;
}

.forgot-password {
    text-align: right;
    margin-bottom: 20px;
}

.forgot-password a {
    color: #dc3545;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* ============================================
   Buttons
   ============================================ */
.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}

/* ============================================
   reCAPTCHA & Alerts
   ============================================ */
.recaptcha-wrapper {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.alert {
    border-radius: 8px;
    margin-bottom: 20px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: #000000;
    color: white;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.footer-contact i {
    font-size: 16px;
}

.footer-contact a {
    color: white;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
    }
    
    .left-panel {
        min-height: 400px;
    }
    
    .footer {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-right {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .login-card {
        padding: 30px 20px;
    }
    
    .branding h1 {
        font-size: 36px;
    }
    
    .login-header h2 {
        font-size: 24px;
    }
}




