/* Authentication Pages Styles */

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #f3f4ff 0%, #ffffff 100%);
}

.auth-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    width: 100%;
    min-height: 600px;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Form Section */
.auth-form-section {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header .logo {
    display: inline-flex;
    align-items: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 30px;
}

.auth-header .logo i {
    margin-right: 10px;
    font-size: 32px;
}

.auth-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.auth-header p {
    font-size: 16px;
    color: var(--text-light);
}

/* Form Styling */
.auth-form {
    padding: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 0 15px;
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.input-wrapper i {
    color: var(--text-light);
    margin-right: 12px;
    font-size: 16px;
}

.input-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 0;
    font-size: 15px;
    font-family: inherit;
    background: transparent;
}

.toggle-password {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: var(--primary-color);
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 10px;
}

.strength-bar {
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.strength-fill {
    height: 100%;
    width: 0;
    transition: width 0.3s ease, background-color 0.3s ease;
    border-radius: 2px;
}

.strength-fill.weak {
    width: 33%;
    background: #ef4444;
}

.strength-fill.medium {
    width: 66%;
    background: #f59e0b;
}

.strength-fill.strong {
    width: 100%;
    background: #10b981;
}

.strength-text {
    font-size: 12px;
    color: var(--text-light);
}

.strength-level {
    font-weight: 600;
}

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

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

.checkbox-label input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

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

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

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

/* Divider */
.divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.divider span {
    position: relative;
    background: white;
    padding: 0 20px;
    color: var(--text-light);
    font-size: 14px;
}

/* Social Auth */
.social-auth {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: none;
    background: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
    background: rgba(99, 102, 241, 0.05);
}

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

.fab.fa-google {
    color: #4285f4;
}

.fab.fa-facebook {
    color: #1877f2;
}

.fab.fa-github {
    color: #333;
}

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

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

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

/* Image Section */
.auth-image-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-image-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

/* Stats Cards */
.stats-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    min-width: 180px;
}

.stats-card i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stats-card h3 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.stats-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* Quote Card */
.quote-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 20px;
    max-width: 350px;
}

.quote-card i {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.quote-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.quote-author strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.quote-author span {
    font-size: 13px;
    color: var(--text-light);
}

/* Benefits List */
.benefits-list {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 20px;
}

.benefits-list h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.benefits-list ul {
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: 15px;
}

.benefits-list i {
    color: #10b981;
    font-size: 18px;
}

/* Promo Card */
.promo-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
}

.promo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.promo-icon i {
    font-size: 28px;
    color: white;
}

.promo-card h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.promo-card p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.promo-code {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .auth-wrapper {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .auth-image-section {
        display: none;
    }

    .auth-form-section {
        padding: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .social-auth {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .auth-form-section {
        padding: 30px 20px;
    }

    .auth-form {
        padding: 25px;
    }

    .auth-header h1 {
        font-size: 26px;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* Error States */
.input-wrapper.error {
    border-color: #ef4444;
}

.error-message {
    color: #ef4444;
    font-size: 12px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.error-message i {
    font-size: 14px;
}

/* Success States */
.input-wrapper.success {
    border-color: #10b981;
}

.success-message {
    color: #10b981;
    font-size: 12px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.success-message i {
    font-size: 14px;
}