/* Authentication Pages Styles */

.auth-page {
    min-height: 100vh;
    background: var(--off-white);
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 500px;
    min-height: 100vh;
}

/* Left Side */
.auth-left {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.3) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.auth-brand {
    position: relative;
    z-index: 1;
}

.auth-brand .logo {
    color: var(--white);
    font-size: 32px;
}

.auth-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    max-width: 500px;
}

.auth-content h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.auth-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-features .feature {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
}

.auth-features .feature i {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.auth-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    opacity: 0.3;
    z-index: 0;
}

.auth-image img {
    width: 100%;
    height: auto;
    border-radius: 20px 0 0 0;
}

/* Right Side */
.auth-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: var(--white);
}

.auth-box {
    width: 100%;
    max-width: 420px;
}

.auth-tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--light-gray);
}

.auth-tabs a {
    padding: 15px 0;
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.auth-tabs a.active {
    color: var(--accent);
}

.auth-tabs a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
}

.auth-box h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--primary);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

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

.input-with-icon {
    position: relative;
}

.input-with-icon i:first-child {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 16px;
}

.input-with-icon input {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    font-size: 14px;
    transition: var(--transition);
}

.input-with-icon input:focus {
    outline: none;
    border-color: var(--accent);
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 16px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
    cursor: pointer;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.forgot-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Password Strength */
.password-strength {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.password-strength .strength-bar {
    height: 4px;
    border-radius: 2px;
    transition: var(--transition);
    flex: 1;
}

.password-strength span {
    font-size: 12px;
    font-weight: 500;
}

/* Step Indicator */
.step-indicator {
    margin-bottom: 25px;
}

.step-indicator span {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 8px;
    display: block;
}

.progress-bar {
    height: 4px;
    background: var(--light-gray);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar .progress {
    height: 100%;
    background: var(--accent);
    transition: var(--transition);
}

.section-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.form-actions .btn {
    flex: 1;
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
    color: var(--gray);
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--light-gray);
}

.auth-divider span {
    padding: 0 15px;
}

/* Social Login */
.social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
}

.btn-social:hover {
    background: var(--off-white);
    border-color: var(--accent);
}

.btn-social img {
    width: 20px;
    height: 20px;
}

.btn-social i {
    font-size: 20px;
}

.btn-social.google:hover {
    border-color: #4285F4;
    color: #4285F4;
}

.btn-social.facebook {
    background: #1877F2;
    color: var(--white);
    border-color: #1877F2;
}

.btn-social.facebook:hover {
    background: #166fe5;
}

/* Footer */
.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: var(--text-light);
}

.auth-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

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

.terms-text {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: var(--gray);
    line-height: 1.6;
}

.terms-text a {
    color: var(--accent);
    text-decoration: none;
}

/* Form Section */
.form-section {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 992px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-left {
        display: none;
    }
    
    .auth-right {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .auth-box h2 {
        font-size: 24px;
    }
    
    .form-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}