/* ===== GİRİŞ/KAYIT SAYFASI STİLLERİ ===== */

/* Auth Mesaj Bildirimleri */
.auth-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    animation: slideDown .2s ease;
}
.auth-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}
.auth-message.error {
    background: #fdecea;
    color: #c62828;
    border: 1px solid #ef9a9a;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Auth Section */
.auth-section {
    padding: 80px 0;
    background: var(--bg-light);
    min-height: calc(100vh - 200px);
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.auth-tab {
    background: var(--white);
    border: 2px solid #E5E7EB;
    color: var(--text-muted);
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-tab:hover {
    border-color: var(--accent-color);
    color: var(--primary-color);
}

.auth-tab.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
}

/* Auth Content */
.auth-content {
    display: none;
    max-width: 600px;
    margin: 0 auto;
}

.auth-content.active {
    display: block;
}

/* Auth Card */
.auth-card {
    background: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

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

.form-group label {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
    pointer-events: none;
}

.input-with-icon input {
    padding: 14px 15px 14px 48px !important;
    width: 100%;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 15px;
}

.input-with-icon input::placeholder {
    color: #9CA3AF;
    opacity: 1;
}

.form-group input,
.form-group select {
    padding: 12px 15px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

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

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

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

.remember-me input[type="checkbox"] {
    cursor: pointer;
}

.forgot-password {
    color: var(--accent-color);
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

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

/* Form Checkbox */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 5px;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
}

.form-checkbox label {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

.form-checkbox label a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Auth Button */
.auth-btn {
    background: var(--accent-color);
    color: var(--white);
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.auth-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #E5E7EB;
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-divider span {
    background: var(--white);
    padding: 0 15px;
    color: var(--text-muted);
    font-size: 14px;
}

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

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    background: var(--white);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.social-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-btn.google {
    color: #db4437;
}

.social-btn.facebook {
    color: #4267B2;
}

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

/* Auth Benefits */
.auth-benefits {
    max-width: 900px;
    margin: 60px auto 0;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.auth-benefits h3 {
    text-align: center;
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-item {
    text-align: center;
}

.benefit-item i {
    font-size: 36px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.benefit-item strong {
    display: block;
    color: var(--primary-color);
    font-size: 16px;
    margin-bottom: 8px;
}

.benefit-item p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .auth-card {
        padding: 30px 20px;
    }

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

    .auth-tabs {
        flex-direction: column;
        gap: 10px;
    }

    .auth-tab {
        width: 100%;
        justify-content: center;
    }

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

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

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

@media (max-width: 480px) {
    .auth-section {
        padding: 40px 0;
    }

    .auth-card {
        padding: 25px 15px;
    }

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

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