/* Login Page Styles */
:root {
    --primary-green: #063C2B;
    --light-green: #A8D5BA;
    --background-green: #05281F;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --border-color: #E0E0E0;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    min-height: 100vh;
}


/* ============================================
   Header Styles
   ============================================ */
header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    width: 100%;
    background-color: var(--primary-green);
    box-shadow: var(--shadow-sm);
}

.header-top {
    padding: var(--spacing-md) var(--spacing-3xl);
    min-height: 75px;
    display: flex;
    align-items: center;
}

    .header-top .container-fluid {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1400px;
        margin: 0 auto;
        width: 100%;
    }

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 70px;
    width: auto;
    max-width: 300px;
    min-width: 200px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

/* ============================================
   Header Right Section
   ============================================ */
.header-right-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-lg);
}

.user-info-section {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.icon-btn-header {
    background: none;
    border: none;
    padding: var(--spacing-sm);
    cursor: pointer;
    color: var(--white);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    width: 40px;
    height: 40px;
}

    .icon-btn-header:hover {
        color: var(--white);
        background-color: rgba(255, 255, 255, 0.15);
        transform: scale(1.05);
    }

/* Login Container */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 3rem 2rem;
}

.login-card {
    display: flex;
    width: 100%;
    max-width: 1200px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-height: 650px;
}

/* Login Form Section */
.login-form-section {
    flex: 1;
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-content {
    width: 100%;
    max-width: 500px;
}

.portal-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.login-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.login-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.75rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1.25rem;
    color: var(--text-light);
    z-index: 1;
    width: 22px;
    height: 22px;
}

.form-control {
    width: 100%;
    padding: 1.125rem 1.25rem 1.125rem 3.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1.1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(6, 60, 43, 0.1);
}

.form-control::placeholder {
    color: var(--text-light);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-check-input {
    width: 1rem;
    height: 1rem;
    cursor: pointer;
}

.form-check-label {
    color: var(--text-dark);
    cursor: pointer;
    margin: 0;
}

.forgot-password-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.forgot-password-link:hover {
    color: var(--primary-green);
}

.btn-login {
    width: 100%;
    padding: 1.125rem;
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    margin-bottom: 2rem;
}

.btn-login:hover {
    background-color: var(--background-green);
    transform: translateY(-1px);
}

.btn-login:active {
    transform: translateY(0);
}

.register-link {
    text-align: center;
    color: var(--text-dark);
    font-size: 1rem;
}

.register-link p {
    margin: 0;
}

.register-text-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.register-text-link:hover {
    color: var(--primary-green);
}

.text-danger {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.text-success {
    color: #28a745;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
    display: block;
    padding: 0.75rem;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
}

/* Illustration Section */
.login-illustration-section {
    flex: 1;
    background-color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.illustration-content {
    width: 100%;
    max-width: 500px;
}

.illustration {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 500px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-card {
        flex-direction: column;
        max-width: 100%;
    }
    
    .login-illustration-section {
        display: none;
    }
    
    .login-form-section {
        padding: 2rem 1.5rem;
    }
    
    .login-title {
        font-size: 2rem;
    }
    
    .login-header .navbar {
        padding: 1rem;
    }
    
    .login-header .navbar-brand {
        font-size: 0.9rem;
    }
    
    .logo-icon {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 1rem;
    }
    
    .login-form-section {
        padding: 1.5rem 1rem;
    }
    
    .login-title {
        font-size: 1.75rem;
    }
}

