/* ============================================
   AUTH PAGES - Kayıt, Giriş, Profil
   ============================================ */

.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, 
        rgba(13, 148, 136, 0.05) 0%, 
        rgba(139, 92, 246, 0.05) 50%,
        rgba(3, 105, 161, 0.05) 100%
    );
}

.auth-section {
    padding: calc(80px + var(--space-3xl)) 0 var(--space-3xl);
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.login-container {
    grid-template-columns: 1fr;
    max-width: 500px;
}

/* ========== AUTH CARD ========== */
.auth-card {
    background: #ffffff;
    padding: var(--space-3xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    animation: slideInUp 0.6s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.auth-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    display: block;
}

.auth-header h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: #212C3B;
    margin-bottom: var(--space-sm);
}

.auth-header p {
    color: #555;
}

/* ========== AUTH FORM ========== */
.auth-form .form-group {
    margin-bottom: var(--space-lg);
}

.auth-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #212C3B;
    margin-bottom: var(--space-sm);
}

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

.input-icon {
    position: absolute;
    left: var(--space-md);
    font-size: 1.1rem;
    opacity: 0.6;
    pointer-events: none;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="tel"] {
    width: 100%;
    padding: var(--space-md) var(--space-md) var(--space-md) calc(var(--space-md) * 3);
    border: 2px solid rgba(33, 44, 59, 0.2);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: #212C3B;
    background: #fff;
    transition: all var(--transition-fast);
}

.auth-form input:focus {
    outline: none;
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.auth-form input.error {
    border-color: #e74c3c;
}

.auth-form input.success {
    border-color: #27ae60;
}

.toggle-password {
    position: absolute;
    right: var(--space-md);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}

.toggle-password:hover {
    opacity: 1;
}

.input-hint {
    display: block;
    font-size: 0.8rem;
    color: #555;
    margin-top: var(--space-xs);
}

#subscriptionAccessMessage.subscription-access-msg--error {
    color: #b91c1c;
    font-weight: 500;
}

#subscriptionAccessMessage.subscription-access-msg--ok {
    color: #15803d;
    font-weight: 500;
}

/* Password Strength */
.password-strength {
    margin-top: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.strength-bar {
    flex: 1;
    height: 4px;
    background: rgba(33, 44, 59, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.strength-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: 0%;
    background: #e74c3c;
    transition: all var(--transition-base);
}

.password-strength.weak .strength-bar::after {
    width: 33%;
    background: #e74c3c;
}

.password-strength.medium .strength-bar::after {
    width: 66%;
    background: #f39c12;
}

.password-strength.strong .strength-bar::after {
    width: 100%;
    background: #27ae60;
}

.strength-text {
    font-size: 0.75rem;
    color: #555;
}

.password-strength.weak .strength-text { color: #e74c3c; }
.password-strength.medium .strength-text { color: #f39c12; }
.password-strength.strong .strength-text { color: #27ae60; }

/* Checkbox */
.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
    font-size: 0.9rem;
    color: #212C3B;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(33, 44, 59, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.checkbox-label input:checked + .checkmark {
    background: #0d9488;
    border-color: #0d9488;
}

.checkbox-label input:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 0.8rem;
}

.checkbox-label a {
    color: #0d9488;
    text-decoration: underline;
}

.form-row-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-password {
    font-size: 0.9rem;
    color: #0d9488;
}

/* Submit Button */
.auth-submit {
    position: relative;
    margin-top: var(--space-lg);
}

.auth-submit .btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: var(--space-sm);
}

.auth-submit.loading .btn-text {
    opacity: 0.7;
}

.auth-submit.loading .btn-loader {
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
    color: #555;
    font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(33, 44, 59, 0.1);
}

/* Social Auth */
.social-auth {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-md);
    border: 2px solid rgba(33, 44, 59, 0.15);
    border-radius: var(--radius-md);
    background: #ffffff;
    color: #212C3B;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.social-btn:hover {
    border-color: #0d9488;
    background: rgba(13, 148, 136, 0.05);
}

.social-btn span:first-child {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #4285f4, #34a853, #fbbc05, #ea4335);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(33, 44, 59, 0.1);
}

.auth-footer a {
    color: #0d9488;
    font-weight: 500;
}

.auth-footer p {
    color: #444;
}

/* ========== AUTH FEATURES ========== */
.auth-features {
    padding: var(--space-2xl);
    animation: slideInRight 0.6s ease 0.2s backwards;
}

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

.auth-features h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #212C3B;
    margin-bottom: var(--space-xl);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.features-list li {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all var(--transition-base);
}

.features-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.features-list strong {
    display: block;
    color: #212C3B;
    margin-bottom: var(--space-xs);
}

.features-list p {
    font-size: 0.9rem;
    color: #555;
}

/* ========== AUTH SUCCESS MODAL ========== */
.auth-success {
    text-align: center;
    padding: var(--space-3xl);
}

.auth-success .success-icon {
    font-size: 4rem;
    margin-bottom: var(--space-lg);
}

.auth-success h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: #212C3B;
    margin-bottom: var(--space-md);
}

.auth-success p {
    color: #444;
}

.welcome-name {
    font-size: 1.1rem;
    color: #0d9488;
    margin-bottom: var(--space-xl);
}

/* ========== PROFILE PAGE ========== */
.profile-page {
    background: #f5f6f8;
}

.profile-section {
    padding-top: calc(80px + var(--space-2xl));
}

.profile-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

/* Profile Sidebar */
.profile-sidebar {
    position: sticky;
    top: 100px;
}

.profile-card {
    background: #ffffff;
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    margin-bottom: var(--space-lg);
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d9488, #0369a1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    font-size: 2.5rem;
    font-family: var(--font-display);
    color: #fff;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}

.profile-card h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #212C3B;
    margin-bottom: var(--space-xs);
}

.profile-card p {
    color: #555;
    font-size: 0.9rem;
}

.member-since {
    margin-top: var(--space-sm);
    font-size: 0.85rem !important;
    color: #666;
    opacity: 1;
}

/* Profile Navigation */
.profile-nav {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.profile-nav-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    color: #212C3B;
    font-size: 0.95rem;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.profile-nav-item:hover,
.profile-nav-item.active {
    background: rgba(13, 148, 136, 0.1);
    color: #0d9488;
}

.profile-nav-item span {
    font-size: 1.2rem;
}

.logout-btn {
    border-top: 1px solid rgba(33, 44, 59, 0.1);
    color: #e74c3c !important;
}

.logout-btn:hover {
    background: rgba(231, 76, 60, 0.1) !important;
}

/* Profile Content */
.profile-content {
    background: #ffffff;
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.profile-tab {
    display: none;
}

.profile-tab.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.profile-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #212C3B;
    margin-bottom: var(--space-xl);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.stat-card {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(3, 105, 161, 0.1));
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.stat-icon {
    font-size: 2rem;
    color: #0d9488;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: #212C3B;
}

.stat-label {
    font-size: 0.85rem;
    color: #555;
}

/* Activity List */
.recent-activity h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: #212C3B;
    margin-bottom: var(--space-md);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.activity-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: #f5f6f8;
    border-radius: var(--radius-md);
}

.activity-icon {
    font-size: 1.5rem;
}

.activity-content p {
    color: #212C3B;
    margin-bottom: var(--space-xs);
}

.activity-time {
    font-size: 0.8rem;
    color: #555;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--space-3xl);
    color: #555;
}

.empty-state span {
    font-size: 4rem;
    display: block;
    margin-bottom: var(--space-md);
    opacity: 0.3;
    color: #212C3B;
}

/* ========== SİPARİŞ KARTLARI VE DURUM TAKİBİ ========== */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.order-card {
    background: #f5f6f8;
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    border-left: 4px solid #0d9488;
}

.order-card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.order-card .order-id {
    font-weight: 600;
    color: #212C3B;
    font-size: 0.9rem;
}

.order-card .order-date {
    font-size: 0.85rem;
    color: #555;
}

.order-status-badge {
    margin-left: auto;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.order-status-siparis_alindi {
    background: rgba(13, 148, 136, 0.15);
    color: #0d9488;
}

.order-status-hazirlaniyor {
    background: rgba(245, 158, 11, 0.2);
    color: #d97706;
}

.order-status-kargoda {
    background: rgba(59, 130, 246, 0.2);
    color: #2563eb;
}

.order-status-teslim_edildi {
    background: rgba(34, 197, 94, 0.2);
    color: #15803d;
}

.order-card .order-items {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-md);
    font-size: 0.9rem;
    color: #555;
}

.order-card .order-items li {
    padding: var(--space-xs) 0;
    border-bottom: 1px solid rgba(33, 44, 59, 0.06);
}

.order-card .order-items li:last-child {
    border-bottom: none;
}

.order-card-footer {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(33, 44, 59, 0.1);
    color: #212C3B;
}

/* Settings Form */
.settings-form .settings-section {
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(33, 44, 59, 0.1);
}

.settings-section h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: #212C3B;
    margin-bottom: var(--space-lg);
}

.settings-form .form-group {
    margin-bottom: var(--space-md);
}

.settings-form label {
    color: #212C3B;
}

.settings-form input {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid rgba(33, 44, 59, 0.15);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: #212C3B;
    background: #fff;
}

.settings-form input:focus {
    outline: none;
    border-color: #0d9488;
}

.settings-form input:disabled {
    background: #f5f6f8;
    color: #666;
    cursor: not-allowed;
}

.settings-form .checkbox-label {
    margin-bottom: var(--space-md);
}

/* Danger Zone */
.danger-zone {
    margin-top: var(--space-2xl);
    padding: var(--space-lg);
    background: rgba(231, 76, 60, 0.05);
    border: 1px solid rgba(231, 76, 60, 0.2);
    border-radius: var(--radius-md);
}

.danger-zone h4 {
    color: #e74c3c;
    margin-bottom: var(--space-sm);
}

.danger-zone p {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: var(--space-md);
}

.btn-danger {
    background: #e74c3c;
    color: white;
    border: none;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-danger:hover {
    background: #c0392b;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-features {
        order: -1;
    }
    
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .auth-card {
        padding: var(--space-xl);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row-between {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }
}

/* E-Dergilerim */
.profile-edergi-intro {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: var(--space-lg);
    line-height: 1.5;
}
.edergiler-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}
.edergi-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: #f5f6f8;
    border-radius: var(--radius-md);
    border-left: 4px solid #0d9488;
}
.edergi-card-body h4 {
    margin: 0 0 var(--space-xs);
    font-size: 1.05rem;
    color: #212C3B;
}
.edergi-card-date {
    font-size: 0.85rem;
    color: #666;
}
