@import url('style.css');

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #003366 0%, #001a4d 100%);
    padding: 20px;
}

.login-container {
    display: flex;
    width: 100%;
    max-width: 1100px;
    min-height: 600px;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.login-left {
    flex: 1;
    background: linear-gradient(135deg, #003366 0%, #0055a0 100%);
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.login-left::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.login-content {
    position: relative;
    z-index: 1;
}

.login-brand {
    margin-bottom: 48px;
}

.brand-icon {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 16px;
}

.brand-title {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
}

.brand-subtitle {
    font-size: 16px;
    opacity: 0.8;
    margin: 4px 0 0;
    font-weight: 300;
}

.login-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    opacity: 0.9;
}

.feature-item i {
    font-size: 18px;
    width: 24px;
}

.login-right {
    flex: 1;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.login-form-wrapper {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.login-welcome {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px;
}

.login-desc {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 500;
    font-size: 13px;
    color: #1e293b;
    margin-bottom: 6px;
}

.input-group-text {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #94a3b8;
    border-right: none;
}

.form-control {
    border: 1px solid #e2e8f0;
    padding: 10px 14px;
    font-size: 14px;
    border-radius: 0 6px 6px 0;
    transition: all 0.2s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-check-input {
    width: 16px;
    height: 16px;
    margin: 0;
    border: 2px solid #cbd5e1;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-label {
    font-size: 13px;
    color: #64748b;
    cursor: pointer;
}

.forgot-link {
    font-size: 13px;
    color: var(--secondary);
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-login:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.3);
}

.login-footer {
    margin-top: 32px;
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
}

.login-footer p {
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
        max-width: 480px;
        min-height: auto;
    }
    
    .login-left {
        padding: 32px;
        min-height: 200px;
    }
    
    .login-right {
        padding: 32px;
    }
    
    .login-brand {
        margin-bottom: 24px;
    }
    
    .brand-title {
        font-size: 28px;
    }
    
    .login-features {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px 16px;
    }
}

@media (max-width: 576px) {
    .login-wrapper {
        padding: 12px;
    }
    
    .login-left {
        padding: 24px;
    }
    
    .login-right {
        padding: 24px;
    }
    
    .brand-icon {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }
    
    .brand-title {
        font-size: 24px;
    }
}