/* Authentication specific styles */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--light-gray) 0%, #e8e8ec 100%);
}

.auth-wrapper {
    display: flex;
    max-width: 1000px;
    width: 100%;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.auth-visual {
    flex: 1;
    background: linear-gradient(135deg, var(--dark-blue) 0%, #1a2a5a 100%);
    color: var(--white);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.auth-visual h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.auth-visual p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.auth-visual img {
    max-width: 100%;
    max-height: 300px;
    margin-top: 20px;
}

.auth-form {
    flex: 1;
    padding: 50px;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header h1 {
    font-size: 2.2rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--text-light);
}

.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 2px solid #e2e8f0;
}

.tab {
    padding: 12px 25px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
    position: relative;
}

.tab.active {
    color: var(--dark-blue);
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--soft-purple);
    border-radius: 3px 3px 0 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-blue);
}

.form-control {
    width: 100%;
    padding: 14px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--soft-purple);
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.2);
}

.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-light);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me input {
    width: 18px;
    height: 18px;
}

.forgot-password {
    color: var(--soft-purple);
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.auth-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 500;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 25px;
}

.auth-btn.google {
    background: white;
    color: var(--dark-blue);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-btn.google:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.divider {
    text-align: center;
    position: relative;
    margin: 25px 0;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1px;
    background: #e2e8f0;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--text-light);
}

.auth-footer a {
    color: var(--soft-purple);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.error-message {
    color: #e53e3e;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

.success-message {
    color: #38a169;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

@media (max-width: 992px) {
    .auth-wrapper {
        flex-direction: column;
    }
    
    .auth-visual {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .auth-form {
        padding: 30px;
    }
    
    .auth-visual {
        padding: 30px 20px;
    }
}