/* Login Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
}

.login-wrapper {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    background: white;
}

/* Left Side - Login Form */
.login-form-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 2rem; */
    background: white;
}

.login-form-container {
    width: 100%;
    max-width: 400px;
}

.login-header {
    margin-bottom: 2rem;
}

.login-title {
    font-size: 1.875rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: #718096;
    font-size: 0.875rem;
    line-height: 1.5;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 0;
}

.required {
    color: #e53e3e;
}

.form-control {
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.2s;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #4A9B8E;
    box-shadow: 0 0 0 3px rgba(74, 155, 142, 0.1);
}

.form-control::placeholder {
    color: #a0aec0;
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    cursor: pointer;
    color: #718096;
    z-index: 10;
}

.password-toggle:hover {
    color: #4A9B8E;
}

.btn-login {
    background: #4A9B8E;
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 1rem;
}

.btn-login:hover {
    background: #3A7B6E;
    transform: translateY(-1px);
}

.btn-login:active {
    transform: translateY(0);
}

/* Right Side - Branding */
.login-branding-section {
    flex: 1;
    background: linear-gradient(135deg, #4A9B8E 0%, #2D6A5F 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 3rem; */
    color: white;
    position: relative;
    overflow: hidden;
}

.branding-content {
    text-align: left;
    z-index: 2;
    max-width: 400px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.brand-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.branding-title {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: white;
}

.branding-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Decorative Elements */
.login-branding-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.login-branding-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 1;
}

/* Alert Styling */
.alert {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.alert-danger {
    background-color: #fed7d7;
    border: 1px solid #feb2b2;
    color: #c53030;
}

.invalid-feedback {
    color: #e53e3e;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-wrapper {
        flex-direction: column;
        min-height: auto;
    }
    
    .login-branding-section {
        order: -1;
        padding: 2rem;
    }
    
    .branding-title {
        font-size: 1.5rem;
    }
    
    .login-form-section {
        padding: 1.5rem;
    }
    
    .login-title {
        font-size: 1.5rem;
    }
}