:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --error-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --body-bg: #f5f8fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--body-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 900px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.auth-row {
    display: flex;
    min-height: 600px;
}

.auth-sidebar {
    width: 40%;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
}

.auth-content {
    width: 60%;
    padding: 40px;
}

.logo-container {
    margin-bottom: 10px;
    text-align: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.powered-by {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 30px;
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.auth-description {
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.5;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.feature-icon {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
    line-height: 1.5;
}

.tabs {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 25px;
}

.tab {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--secondary-color);
    cursor: pointer;
    position: relative;
    background: none;
    border: none;
}

.tab.active {
    color: var(--primary-color);
}

.tab.active:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    font-size: 14px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    outline: none;
}

.password-field {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--secondary-color);
    cursor: pointer;
}

.form-hint {
    display: block;
    font-size: 12px;
    color: var(--secondary-color);
    margin-top: 5px;
}

.form-check {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.form-check-input {
    margin-right: 8px;
}

.form-check-label {
    font-size: 14px;
}

.forgot-password {
    display: block;
    text-align: right;
    color: var(--primary-color);
    font-size: 14px;
    text-decoration: none;
    margin-top: 5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.btn-primary:hover {
    background-color: #0b5ed7;
}

.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: var(--secondary-color);
    font-size: 14px;
}

.divider:before,
.divider:after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background-color: #e0e0e0;
}

.divider:before {
    margin-right: 15px;
}

.divider:after {
    margin-left: 15px;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.alert {
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background-color: rgba(25, 135, 84, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(25, 135, 84, 0.2);
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.password-strength {
    height: 5px;
    background-color: #e9ecef;
    border-radius: 3px;
    margin-top: 8px;
    overflow: hidden;
}

.password-strength-meter {
    height: 100%;
    width: 0;
    transition: width 0.3s, background-color 0.3s;
}

.password-weak .password-strength-meter {
    width: 25%;
    background-color: var(--error-color);
}

.password-fair .password-strength-meter {
    width: 50%;
    background-color: #ffc107;
}

.password-good .password-strength-meter {
    width: 75%;
    background-color: #6f42c1;
}

.password-strong .password-strength-meter {
    width: 100%;
    background-color: var(--success-color);
}

.error-feedback {
    color: var(--error-color);
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.form-control.error {
    border-color: var(--error-color);
}

@media (max-width: 768px) {
    .auth-row {
        flex-direction: column;
    }
    
    .auth-sidebar, 
    .auth-content {
        width: 100%;
    }
    
    .auth-sidebar {
        padding: 30px 20px;
    }
    
    .auth-content {
        padding: 30px 20px;
    }
}