/* Login Page Styles */

.auth-section {
    min-height: calc(100vh - 80px);
    padding: 80px 20px 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    max-width: 500px;
    width: 100%;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Tabs */
.auth-tabs {
    display: flex;
    background: #f8f9fa;
    padding: 8px;
    gap: 8px;
}

.tab-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: white;
    color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.tab-btn:hover:not(.active) {
    color: #495057;
}

/* Form Container */
.auth-form-container {
    padding: 40px 40px 30px;
}

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

.auth-header h1 {
    font-size: 28px;
    color: #2d3748;
    margin-bottom: 8px;
}

.auth-header p {
    color: #718096;
    font-size: 15px;
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
    color: #2d3748;
}

.form-group input {
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-hint {
    font-size: 13px;
    color: #718096;
    margin-top: 4px;
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4a5568;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #667eea;
}

.checkbox-label a {
    color: #667eea;
    text-decoration: none;
}

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

.forgot-link {
    font-size: 14px;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

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

/* Auth Button */
.auth-btn {
    padding: 16px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.auth-btn:active {
    transform: translateY(0);
}

.btn-arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.auth-btn:hover .btn-arrow {
    transform: translateX(4px);
}

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

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
}

.divider span {
    position: relative;
    background: white;
    padding: 0 16px;
    color: #718096;
    font-size: 14px;
}

/* Social Buttons */
.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.social-btn {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.social-btn:hover {
    border-color: #cbd5e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.google-btn {
    color: #5f6368;
}

.apple-btn {
    color: #000;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 30px 40px;
    background: #f8f9fa;
    border-top: 1px solid #e2e8f0;
}

.benefit-item {
    text-align: center;
    padding: 12px;
}

.benefit-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
}

.benefit-item p {
    font-size: 13px;
    color: #4a5568;
    font-weight: 500;
    line-height: 1.3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-section {
        padding: 40px 16px;
    }

    .auth-container {
        border-radius: 16px;
    }

    .auth-form-container {
        padding: 32px 24px;
    }

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

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

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 24px;
    }
}

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

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

    .form-group input {
        padding: 12px 14px;
    }

    .auth-btn {
        padding: 14px 20px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}