:root {
    --primary-color: #1e40af;
    --primary-hover: #1e3a8a;
    --secondary-color: #334155;
    --text-color: #1e293b;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --bg-color: #f1f5f9;
    --error-color: #dc2626;
    --success-color: #16a34a;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

body {
    background-color: var(--bg-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    padding: 1.5rem;
    margin: 0;
}

.login-container {
    width: 100%;
    max-width: 600px;
    display: flex;
    border-radius: 1rem;
    overflow: hidden;
    background-color: white;
    box-shadow: var(--card-shadow);
}

/* Banner section (left side) */
.login-banner {
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-banner::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%23ffffff' fill-opacity='0.05' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z'%3E%3C/path%3E%3C/svg%3E");
}

.company-info {
    position: relative;
    z-index: 2;
    padding: 3rem;
    text-align: center;
    color: white;
    max-width: 400px;
}

.brand-logo {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.05) rotate(5deg);
}

.brand-logo i {
    font-size: 32px;
}

.company-info h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.company-info p {
    margin-bottom: 2.5rem;
    font-size: 16px;
    opacity: 0.85;
    line-height: 1.6;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.feature-item i {
    background: rgba(255, 255, 255, 0.2);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 16px;
}

.feature-item span {
    font-size: 15px;
    font-weight: 500;
}

/* Login form section (right side) */
.login-form-wrapper {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.login-logo {
    margin-bottom: 1rem;
    text-align: center;
}

.login-logo img {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.login-logo {
    margin-bottom: 1.5rem;
    text-align: center;
}

.login-title h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.15rem;
    letter-spacing: -0.5px;
}
.login-title p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

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

.login-header h3 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

.login-header p {
    color: var(--text-light);
    font-size: 16px;
}

/* Form elements */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 500;
    font-size: 15px;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background-color: white;
    font-size: 15px;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.15);
    outline: none;
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.password-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check-input {
    margin-right: 0.5rem;
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.form-check-label {
    font-size: 14px;
    cursor: pointer;
}

.forgot-password {
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.forgot-password:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Buttons */
.btn-login {
    background: var(--primary-color);
    border: none;
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-weight: 600;
    font-size: 16px;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.btn-login:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
}

/* Divider */
.divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--border-color);
}

.divider span {
    display: inline-block;
    padding: 0 1rem;
    background-color: white;
    color: var(--text-light);
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.register-link {
    text-align: center;
}

.btn-register {
    padding: 0.9rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 15px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background-color: white;
    color: var(--text-color);
}

.btn-register:hover {
    background-color: var(--bg-color);
    transform: translateY(-1px);
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.alert-danger {
    background-color: rgba(220, 38, 38, 0.1);
    color: #b91c1c;
    border-left: 3px solid var(--error-color);
}

.alert-success {
    background-color: rgba(22, 163, 74, 0.1);
    color: #15803d;
    border-left: 3px solid var(--success-color);
}

.alert i {
    margin-right: 0.75rem;
}

/* Hover effects only - reveal animations removed */

/* Validation styles */
.was-validated .form-control:invalid {
    border-color: var(--error-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc2626'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc2626' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:valid {
    border-color: var(--success-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2316a34a' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    display: none;
    color: var(--error-color);
    font-size: 13px;
    margin-top: 0.5rem;
}

.was-validated .form-control:invalid ~ .invalid-feedback {
    display: block;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .login-container {
        flex-direction: column;
        max-width: 500px;
    }
    
    .login-banner {
        display: flex;
        padding: 2rem;
        min-height: 200px;
    }
    
    .company-info {
        padding: 0;
        max-width: 100%;
    }
    
    .company-info p {
        margin-bottom: 1.5rem;
    }
    
    .features {
        display: none;
    }
    
    .login-form-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    body {
        padding: 1rem;
    }
    
    .login-container {
        border-radius: 0.75rem;
    }
    
    .login-banner {
        min-height: 150px;
        padding: 1.5rem;
    }
    
    .brand-logo {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .brand-logo i {
        font-size: 24px;
    }
    
    .company-info h2 {
        font-size: 22px;
        margin-bottom: 0.5rem;
    }
    
    .company-info p {
        font-size: 14px;
        margin-bottom: 0;
    }
    
    .login-form-wrapper {
        padding: 1.5rem;
    }
    
    .login-header h3 {
        font-size: 24px;
    }
    
    .login-header p {
        font-size: 14px;
    }
    
    .form-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-control {
        padding: 0.75rem 1rem;
    }
    
    .btn-login, .btn-register {
        padding: 0.75rem 1.25rem;
        font-size: 15px;
    }
}
