/* Login page styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container,
.login-page {
    width: 90%;
    max-width: 1200px;
    margin: 2rem auto;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.login-container .login-page {
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

.login-page {
    display: flex;
    min-height: 600px;
    position: relative;
}

.login-left {
    width: 38%;
    flex: 0 0 38%;
    background-color: #0066ff;
    padding: 3rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.login-right {
    width: 62%;
    flex: 1 1 62%;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.login-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.login-header p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.features-list {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    font-size: 1.1rem;
}

.feature-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 30px;
    text-align: center;
}

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

.login-form h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #666;
}

.form-label i {
    margin-right: 0.5rem;
    color: #0066ff;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #0066ff;
    box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.1);
}

.btn-primary {
    width: 100%;
    padding: 0.75rem;
    background-color: #6366f1;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary i {
    margin-right: 0.5rem;
}

.btn-primary:hover {
    background-color: #4f46e5;
}

.btn-secondary {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.login-footer {
    text-align: center;
}

.login-footer p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.form-footer {
    margin-top: 1rem;
    text-align: center;
}

.form-footer a {
    color: #0066ff;
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.checkbox-group a {
    color: #0066ff;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
    .login-container,
    .login-page {
        margin: 0;
        width: 100%;
        border-radius: 0;
        min-height: 100vh;
    }

    .login-page {
        flex-direction: column;
        min-height: 100vh;
    }

    .login-left,
    .login-right {
        width: 100%;
        flex: none;
        padding: 2rem;
    }
}
