/* Sign In Page Styles */
.sign-in-page {
    font-family: 'Outfit', sans-serif;
    background-color: #f5f6fa;
    margin: 0;
    padding: 0;
}

.sign-in-container {
    min-height: 100vh;
}

/* Left Panel - Branding */
.left-panel {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
}

.left-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 40px),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 40px);
    pointer-events: none;
}

.panel-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.logo-section .logo {
    max-width: 200px;
    height: auto;
}

.welcome-text h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
}

.welcome-text p {
    font-size: 18px;
    line-height: 1.6;
}

.benefits-list {
    margin-top: 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    color: white;
}

.benefit-icon {
    font-size: 24px;
    margin-right: 15px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.benefit-item span {
    font-size: 16px;
    font-weight: 500;
}

.panel-footer {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Right Panel - Form */
.right-panel {
    background-color: #f5f6fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    max-width: 500px;
    width: 100%;
}

.form-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
}

.form-header p {
    font-size: 15px;
    margin-bottom: 0;
}

/* Form Inputs */
.form-label {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 8px;
}

.input-group-text {
    background-color: #f8f9fa;
    border-right: none;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-group-text i {
    font-size: 20px;
    color: #6c757d;
}

.input-group .form-control {
    border-left: none;
}

.input-group .form-control:focus {
    border-color: #667eea;
    box-shadow: none;
}

.input-group:focus-within .input-group-text {
    border-color: #667eea;
}

.toggle-password {
    background-color: #f8f9fa;
    border-left: none;
}

.toggle-password:hover {
    background-color: #e9ecef;
}

/* Remember Me & Forgot Password */
.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.form-check-label {
    color: #6c757d;
    font-size: 14px;
}

/* Submit Button */
#submitBtn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#submitBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

#submitBtn:active {
    transform: translateY(0);
}

#submitBtn .spinner-border {
    margin-left: 8px;
}

/* Divider */
.divider {
    position: relative;
    text-align: center;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
}

.divider span {
    position: relative;
    background: white;
    padding: 0 15px;
    color: #9e9e9e;
    font-size: 14px;
}

/* Social Login Buttons */
.btn-outline-secondary {
    border-color: #dee2e6;
    color: #6c757d;
}

.btn-outline-secondary:hover {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #495057;
}

/* Alerts */
.alert {
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.alert i {
    font-size: 20px;
}

/* Responsive */
@media (max-width: 991px) {
    .sign-in-page {
        background-color: #ffffff !important;
    }
    
    .sign-in-container {
        background-color: #ffffff !important;
    }
    
    .main-container {
        background-color: #ffffff !important;
    }
    
    .right-panel {
        background-color: #ffffff !important;
    }
    
    .form-wrapper {
        padding: 30px 25px;
        box-shadow: none;
        background-color: #ffffff !important;
    }
    
    .form-header h3 {
        font-size: 24px;
    }
    
    /* Mobile logo above Sign In text */
    .form-wrapper {
        padding-top: 70px;
        position: relative;
    }
    
    .form-wrapper::before {
        content: '';
        display: block;
        width: 150px;
        height: 50px;
        position: absolute;
        top: 0;
        left: 25px;
        background-image: url('../images/logo/1.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: left center;
    }
}

@media (max-width: 576px) {
    .form-wrapper {
        padding: 25px 20px;
    }
    
    .form-wrapper::before {
        left: 20px;
    }
    
    .form-header h3 {
        font-size: 22px;
    }
    
    .welcome-text h1 {
        font-size: 32px;
    }
    
    .left-panel {
        padding: 40px 30px;
    }
}
