/* Ana stil dosyası - Dark Mode Destekli */

/* CSS Variables - Light Mode (Default) */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-card: #ffffff;
    --bg-nav: #ffffff;
    --bg-button: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-success: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --bg-danger: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    --bg-warning: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --bg-info: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    --text-white: #ffffff;
    
    --border-color: #e1e1e1;
    --border-focus: #667eea;
    
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 5px 20px rgba(0,0,0,0.1);
    --shadow-heavy: 0 10px 30px rgba(0,0,0,0.2);
    
    --header-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --nav-hover: #667eea;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #0f0f0f;
    --bg-card: #2d2d2d;
    --bg-nav: #2d2d2d;
    
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    
    --border-color: #404040;
    --border-focus: #667eea;
    
    --shadow-light: 0 2px 10px rgba(0,0,0,0.3);
    --shadow-medium: 0 5px 20px rgba(0,0,0,0.3);
    --shadow-heavy: 0 10px 30px rgba(0,0,0,0.5);
    
    --header-bg: linear-gradient(135deg, #4a5c9a 0%, #5a4082 100%);
    --nav-hover: #5a67d8;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Dark Mode Toggle Button */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    padding: 8px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    box-shadow: var(--shadow-medium);
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--border-focus);
}

.theme-toggle:focus {
    outline: 3px solid var(--border-focus);
    outline-offset: 2px;
}

.theme-icon {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-icon {
    transform: rotate(180deg);
}

/* Header */
.header {
    background: var(--header-bg);
    color: white;
    padding: 20px 0;
    margin-bottom: 30px;
    box-shadow: var(--shadow-light);
}

.header h1 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 10px;
}

/* Navigation */
.nav {
    background: var(--bg-nav);
    padding: 15px;
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.nav a {
    text-decoration: none;
    color: var(--text-primary);
    padding: 12px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav a:hover, .nav a.active {
    background: var(--nav-hover);
    color: var(--text-white);
}

/* Card Layout */
.card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.card h2 {
    color: var(--nav-hover);
    margin-bottom: 20px;
    font-size: 1.8em;
}

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

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

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 5px;
    text-align: center;
}

.btn-primary {
    background: var(--bg-button);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-success {
    background: var(--bg-success);
    color: white;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(17, 153, 142, 0.4);
}

.btn-danger {
    background: var(--bg-danger);
    color: white;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 65, 108, 0.4);
}

.btn-warning {
    background: var(--bg-warning);
    color: white;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(240, 147, 251, 0.4);
}

.btn-info {
    background: var(--bg-info);
    color: white;
}

.btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.4);
}

.btn-secondary {
    background: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .btn-secondary {
    background: #404040;
    color: var(--text-primary);
}

.btn-secondary:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.btn:focus {
    outline: 3px solid var(--border-focus);
    outline-offset: 2px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Table Styles */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table th,
.table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-secondary);
}

.table td {
    color: var(--text-primary);
}

.table tr:hover {
    background: var(--bg-secondary);
}

/* Soru Styles */
.soru-container {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
}

.soru-baslik {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
    line-height: 1.4;
}

.secenekler {
    list-style: none;
    margin: 20px 0;
}

.secenekler li {
    margin-bottom: 12px;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-card);
    color: var(--text-primary);
}

.secenekler li:hover {
    border-color: var(--border-focus);
    background: var(--bg-secondary);
}

.secenekler li.selected {
    border-color: var(--border-focus);
    background: var(--border-focus);
    color: white;
}

.secenekler li.correct {
    border-color: #28a745;
    background: #28a745;
    color: white;
}

.secenekler li.incorrect {
    border-color: #dc3545;
    background: #dc3545;
    color: white;
}

.secenek-item {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
}

.secenek-item:focus {
    outline: 3px solid var(--border-focus);
    outline-offset: 2px;
}

/* Progress Bar */
.progress {
    width: 100%;
    height: 10px;
    background: var(--border-color);
    border-radius: 5px;
    overflow: hidden;
    margin: 20px 0;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    background-size: 200% 100%;
    animation: progressShine 3s ease-in-out infinite;
    transition: width 0.3s ease;
}

@keyframes progressShine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Loading Spinner */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    border-top-color: #667eea;
    animation: spin 1s linear infinite;
}

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

/* Alert Messages */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.alert-info {
    background: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
    border: 1px solid rgba(23, 162, 184, 0.3);
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

[data-theme="dark"] .alert-success {
    background: rgba(40, 167, 69, 0.2);
    color: #4caf50;
}

[data-theme="dark"] .alert-danger {
    background: rgba(220, 53, 69, 0.2);
    color: #f44336;
}

[data-theme="dark"] .alert-info {
    background: rgba(23, 162, 184, 0.2);
    color: #2196f3;
}

[data-theme="dark"] .alert-warning {
    background: rgba(255, 193, 7, 0.2);
    color: #ff9800;
}

/* Upload Area */
.upload-area {
    border: 2px dashed var(--border-focus);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    background: var(--bg-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.upload-area:hover {
    border-color: var(--nav-hover);
    background: var(--bg-card);
}

.upload-area.dragover {
    border-color: var(--nav-hover);
    background: var(--bg-card);
    transform: scale(1.02);
}

/* Test Mode Cards */
.test-mode-card div {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.test-mode-card:hover div {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.test-mode-card[data-mode="normal"] div:hover {
    border-color: #667eea !important;
    background: rgba(102, 126, 234, 0.1) !important;
}

.test-mode-card[data-mode="practice"] div:hover {
    border-color: #28a745 !important;
    background: rgba(40, 167, 69, 0.1) !important;
}

.test-mode-card[data-mode="speed"] div:hover {
    border-color: #ff6b6b !important;
    background: rgba(255, 107, 107, 0.1) !important;
}

/* Test İçi Stiller */
.question-timer {
    animation: pulse 2s infinite;
}

.question-timer.warning {
    animation: fastPulse 0.5s infinite;
    background: #dc3545 !important;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes fastPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Seçenek İndikatörü */
.option-indicator {
    transition: all 0.3s ease;
}

/* Pratik Mod Geri Bildirim */
.answer-feedback {
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Test Navigasyon */
.test-nav {
    background: var(--header-bg);
    color: white;
}

.test-nav .btn {
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: white;
}

.test-nav .btn:hover {
    background: rgba(255,255,255,0.2);
    transform: none;
    box-shadow: none;
}

/* Benzerlik Kontrol Stilleri */
.similarity-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    padding: 15px;
    border-radius: 8px;
    margin: 10px 0;
    color: #ffc107;
}

.similarity-exact-match {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    padding: 15px;
    border-radius: 8px;
    margin: 10px 0;
    color: #dc3545;
}

.similarity-safe {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    padding: 15px;
    border-radius: 8px;
    margin: 10px 0;
    color: #28a745;
}

/* Klavye Kısayolu Göstergeleri */
.keyboard-hint {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(102, 126, 234, 0.1);
    color: var(--border-focus);
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
}

/* Modal ve Overlay Stiller */
[data-theme="dark"] #pause-modal,
[data-theme="dark"] #edit-modal,
[data-theme="dark"] #question-modal {
    background: rgba(0,0,0,0.9);
}

/* Duraklama Modal */
.pause-modal {
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease-out;
}

.pause-modal > div {
    animation: scaleIn 0.3s ease-out;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

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

@keyframes scaleIn {
    from { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
    to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* Test Sonuç Stilleri */
.test-result-card {
    background: var(--bg-warning);
    color: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
}

.score-display {
    font-size: 4em;
    font-weight: bold;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin: 20px 0;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--border-focus);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--nav-hover);
}

/* AUTH PAGES STYLES */

/* Animated Background Particles */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 70%;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    width: 40px;
    height: 40px;
    top: 40%;
    left: 50%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

/* Auth Container */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* Auth Card */
.auth-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideUp 0.6s ease-out;
}

.register-card {
    max-width: 650px;
}

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

/* Auth Header */
.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 3em;
    margin-bottom: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.auth-header h1 {
    color: var(--text-primary);
    font-size: 2.2em;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 1.1em;
    margin: 0;
}

/* Modern Form Inputs */
.form-group-modern {
    margin-bottom: 25px;
    position: relative;
}

.input-wrapper {
    position: relative;
}

.form-input-modern {
    width: 100%;
    padding: 15px 15px 15px 50px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--bg-card);
    color: var(--text-primary);
}

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

.form-input-modern.valid {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.05);
}

.form-input-modern.invalid {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
}

.form-label-modern {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.form-input-modern:focus + .form-label-modern,
.form-input-modern:not(:placeholder-shown) + .form-label-modern {
    top: -8px;
    left: 12px;
    font-size: 12px;
    color: #667eea;
    background: var(--bg-card);
    padding: 0 8px;
}

.label-icon {
    font-size: 1.2em;
}

.required {
    color: #dc3545;
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    z-index: 2;
    font-size: 1.2em;
}

.password-toggle:hover {
    color: var(--text-primary);
    transform: translateY(-50%) scale(1.1);
}

/* Field Validation */
.field-validation {
    margin-top: 5px;
    font-size: 14px;
    min-height: 20px;
    transition: all 0.3s ease;
}

.field-validation.valid {
    color: #28a745;
}

.field-validation.invalid {
    color: #dc3545;
}

.field-hint {
    margin-top: 5px;
    font-size: 12px;
    color: var(--text-muted);
}

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

.strength-meter {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 5px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.strength-fill.weak {
    background: linear-gradient(90deg, #ff4757, #ff6b7a);
}

.strength-fill.fair {
    background: linear-gradient(90deg, #ffa726, #ffcc02);
}

.strength-fill.medium {
    background: linear-gradient(90deg, #42a5f5, #478ed1);
}

.strength-fill.strong {
    background: linear-gradient(90deg, #66bb6a, #4caf50);
}

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

/* Modern Checkbox */
.checkbox-modern {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

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

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-modern input[type="checkbox"]:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.checkbox-modern input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.checkbox-text {
    color: var(--text-primary);
}

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

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

/* Auth Buttons */
.btn-auth-primary {
    width: 100%;
    padding: 15px 25px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
}

.btn-auth-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

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

.btn-auth-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-auth-primary.small {
    padding: 10px 20px;
    font-size: 14px;
    width: auto;
}

.btn-auth-secondary {
    padding: 12px 25px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-auth-secondary:hover {
    border-color: #667eea;
    color: #667eea;
}

.btn-loading {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    gap: 15px;
    flex-wrap: wrap;
}

.forgot-link {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* reCAPTCHA Container */
.recaptcha-container {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

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

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    background: var(--bg-card);
    color: var(--text-secondary);
    padding: 0 20px;
    font-size: 14px;
}

/* Social Login */
.social-login {
    margin-bottom: 20px;
}

.btn-social {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.btn-social:hover {
    border-color: #667eea;
    transform: translateY(-1px);
}

.social-icon {
    font-size: 1.2em;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 30px;
}

.auth-question {
    color: var(--text-secondary);
    font-size: 14px;
}

.auth-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    margin-left: 5px;
}

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

/* Auth Alerts */
.auth-alert {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.3s ease-out;
}

.floating-alert {
    position: relative;
    z-index: 10;
}

.alert-icon {
    font-size: 1.2em;
    flex-shrink: 0;
}

.alert-content {
    flex: 1;
    line-height: 1.4;
}

/* Multi-step Form Styles */
.form-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.form-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.progress-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.progress-step.active .progress-number {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.progress-step span {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 80px;
}

.progress-step.active span {
    color: #667eea;
    font-weight: 500;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.form-navigation {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.form-navigation button {
    flex: 1;
}

/* Form Sections */
.form-section {
    margin-bottom: 35px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(103, 126, 234, 0.2);
}

.section-icon {
    font-size: 1.3em;
}

/* Form Row Layout */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group-modern.half-width {
    flex: 1;
}

/* Feature Cards */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
    line-height: 1.4;
}

/* Benefits Section */
.benefits-section {
    margin-top: 30px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefits-section h3 {
    color: white;
    text-align: center;
    margin-bottom: 20px;
}

.benefit-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.benefit-icon {
    font-size: 1.5em;
    flex-shrink: 0;
}

.benefit-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.benefit-text strong {
    color: white;
    font-size: 0.9em;
}

.benefit-text span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8em;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: var(--bg-card);
    border-radius: 15px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    animation: scaleIn 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.modal-body {
    padding: 25px;
    color: var(--text-primary);
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
    text-align: right;
}

/* Ana Footer Container */
.main-footer {
    background: var(--bg-card);
    border-top: 2px solid var(--border-color);
    margin-top: 50px;
    padding: 40px 0 20px 0;
    color: var(--text-primary);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

[data-theme="dark"] .main-footer {
    box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
}

/* Footer İçerik Layout */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

/* Footer Bölümleri */
.footer-section h3,
.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-section h3 {
    font-size: 1.3em;
    background: var(--bg-button);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 1.1em;
    color: var(--border-focus);
}

.footer-section p {
    color: var(--text-secondary);
    font-size: 0.9em;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Footer Logo Bölümü */
.footer-logo h3 {
    margin-bottom: 8px;
}

.footer-stats {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.stat-item {
    text-align: center;
    padding: 10px 15px;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.stat-number {
    display: block;
    font-size: 1.5em;
    font-weight: bold;
    color: var(--border-focus);
}

.stat-label {
    font-size: 0.8em;
    color: var(--text-secondary);
}

/* Footer Linkler */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--border-focus);
    padding-left: 10px;
    background: var(--bg-secondary);
    padding: 8px 10px;
    border-radius: 8px;
}

/* Footer Ayarlar Bölümü */
.footer-settings {
    background: var(--bg-secondary);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.theme-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.setting-label {
    font-size: 0.9em;
    color: var(--text-primary);
}

.theme-toggle-small {
    background: var(--bg-button);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.8em;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.theme-toggle-small:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.current-theme-info {
    text-align: center;
    font-size: 0.8em;
    color: var(--text-secondary);
    padding: 5px;
    background: var(--bg-primary);
    border-radius: 5px;
    border: 1px solid var(--border-color);
}

#footer-theme-display {
    font-weight: 500;
    color: var(--border-focus);
}

/* Footer Alt Çubuk */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-left p {
    margin: 0;
    font-size: 0.85em;
    color: var(--text-secondary);
    line-height: 1.4;
}

.footer-user-info {
    margin-top: 5px !important;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
}

.footer-version-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.version-item, .time-item {
    font-size: 0.8em;
    color: var(--text-muted);
    padding: 3px 8px;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--bg-button);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    box-shadow: var(--shadow-medium);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

/* Footer Animasyonlar */
.footer-section {
    animation: footerFadeIn 0.6s ease-out;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

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

/* Site Notu Stilleri - Optimize Edilmiş */
.site-notice {
    background: var(--notice-color, #007bff);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 20px;
    margin: 0 0 25px 0;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.site-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1));
    border-radius: 12px;
    pointer-events: none;
}

.site-notice p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
    padding-right: 50px;
}

.site-notice-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    backdrop-filter: blur(5px);
}

.site-notice-close:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.site-notice-close:active {
    transform: scale(0.95);
}

.site-notice.fadeOut {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
}

.site-notice-icon {
    display: inline-block;
    margin-right: 10px;
    font-size: 18px;
    vertical-align: middle;
}

/* Admin Panel Not Yönetimi */
.notice-admin-form {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

/* ZORLA RENK SEÇİCİ DÜZELTMESİ */
.color-picker-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin: 15px 0 !important;
    padding: 15px !important;
    background: #f5f5f5 !important;
    border-radius: 10px !important;
    border: 2px solid #ddd !important;
}

button.color-option {
    width: 50px !important;
    height: 50px !important;
    border: 3px solid #ddd !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
    position: relative !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
}

button.color-option:hover {
    border-color: #333 !important;
    transform: scale(1.1) !important;
}

button.color-option.selected {
    border-color: #000 !important;
    transform: scale(1.1) !important;
}

button.color-option.selected::before {
    content: "✓" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: white !important;
    font-size: 18px !important;
    font-weight: bold !important;
    text-shadow: 0 0 3px rgba(0,0,0,0.8) !important;
    text-indent: 0 !important;
    z-index: 10 !important;
}

/* Dark mode uyumluluğu */
[data-theme="dark"] .site-notice {
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.1);
}

[data-theme="dark"] .site-notice-close {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

[data-theme="dark"] .site-notice-close:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
}

[data-theme="dark"] .color-picker-grid {
    background: var(--bg-primary);
}

[data-theme="dark"] .notice-admin-form {
    background: var(--bg-primary);
}

[data-theme="dark"] .stat-item {
    background: var(--bg-primary);
}

[data-theme="dark"] .footer-settings {
    background: var(--bg-primary);
}

[data-theme="dark"] .current-theme-info {
    background: var(--bg-secondary);
}

[data-theme="dark"] .version-item, 
[data-theme="dark"] .time-item {
    background: var(--bg-primary);
}

[data-theme="dark"] .auth-card {
    background: rgba(45, 45, 45, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .form-input-modern {
    background: var(--bg-secondary);
    border-color: #404040;
}

[data-theme="dark"] .form-input-modern:focus {
    border-color: #667eea;
    background: var(--bg-card);
}

[data-theme="dark"] .strength-meter {
    background: #404040;
}

[data-theme="dark"] .checkmark {
    border-color: #404040;
    background: var(--bg-secondary);
}

[data-theme="dark"] .modal-content {
    background: var(--bg-card);
    border: 1px solid #404040;
}

[data-theme="dark"] .btn-social {
    border-color: #404040;
    background: var(--bg-secondary);
}

[data-theme="dark"] .btn-social:hover {
    border-color: #667eea;
    background: var(--bg-card);
}

/* Animasyonlar */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-home-btn {
        width: 100% !important;
        justify-content: center !important;
        margin-bottom: 10px;
    }
    
    .auth-container {
        padding: 15px;
        align-items: flex-start;
        padding-top: 40px;
    }
    
    .auth-card {
        padding: 30px 25px;
        border-radius: 15px;
    }
    
    .register-card {
        max-width: 100%;
    }
    
    .auth-header h1 {
        font-size: 1.8em;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .form-progress {
        margin-bottom: 25px;
    }
    
    .progress-step span {
        font-size: 11px;
        max-width: 70px;
    }
    
    .progress-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .form-navigation {
        flex-direction: column;
    }
    
    .benefit-items {
        gap: 12px;
    }
    
    .benefit-item {
        padding: 12px;
    }
    
    .modal-content {
        margin: 20px;
        max-width: calc(100% - 40px);
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 20px;
    }
    
    .particles-container .particle {
        display: none;
    }
    
    .particles-container .particle:nth-child(1),
    .particles-container .particle:nth-child(3) {
        display: block;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-version-info {
        flex-direction: column;
        gap: 5px;
    }
    
    .footer-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row .form-group-modern.half-width {
        margin-bottom: 20px;
    }
    
    .form-section {
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    
    .section-title {
        font-size: 1em;
    }
    
    .site-notice {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .site-notice p {
        padding-right: 45px;
        font-size: 14px;
    }
    
    .site-notice-close {
        width: 28px;
        height: 28px;
        top: 12px;
        right: 12px;
        font-size: 14px;
    }
    
    .color-picker-grid {
        grid-template-columns: repeat(4, 50px);
        gap: 10px;
        padding: 12px;
    }
    
    .color-option {
        width: 50px !important;
        height: 50px !important;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 25px 20px;
    }
    
    .form-input-modern {
        padding: 12px 12px 12px 45px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .form-label-modern {
        left: 12px;
    }
    
    .form-input-modern:focus + .form-label-modern,
    .form-input-modern:not(:placeholder-shown) + .form-label-modern {
        left: 10px;
        font-size: 11px;
    }
    
    .password-toggle {
        right: 12px;
        font-size: 1.1em;
    }
    
    .btn-auth-primary,
    .btn-auth-secondary {
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .checkbox-modern {
        font-size: 13px;
    }
    
    .auth-header h1 {
        font-size: 1.6em;
    }
    
    .logo-icon {
        font-size: 2.5em;
    }
    
    .color-picker-grid {
        grid-template-columns: repeat(3, 45px);
        gap: 8px;
        padding: 10px;
    }
    
    .color-option {
        width: 45px !important;
        height: 45px !important;
    }
    
    .color-option.selected::after {
        font-size: 16px !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .form-input-modern {
        border-width: 3px;
    }
    
    .form-input-modern:focus {
        border-width: 3px;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
    }
    
    .btn-auth-primary {
        border: 2px solid #4c63d2;
    }
    
    .checkmark {
        border-width: 3px;
    }
    
    .color-option {
        border-width: 4px !important;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .particle,
    .logo-icon,
    .auth-card,
    .floating-alert,
    .form-step,
    .modal-overlay,
    .modal-content,
    .footer-section,
    .site-notice {
        animation: none;
    }
    
    .btn-auth-primary:hover,
    .feature-card:hover,
    .color-option:hover,
    .site-notice-close:hover {
        transform: none;
    }
    
    .progress-number,
    .form-input-modern,
    .password-toggle,
    .checkmark,
    .color-option {
        transition: none;
    }
}

/* Print Styles */
@media print {
    .particles-container,
    .feature-cards,
    .benefits-section,
    .modal-overlay,
    .theme-toggle,
    .scroll-to-top,
    .site-notice {
        display: none !important;
    }
    
    .auth-container {
        background: white;
    }
    
    .auth-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Accessibility Improvements */
.form-input-modern:focus,
.btn-auth-primary:focus,
.btn-auth-secondary:focus,
.checkbox-modern:focus-within,
.password-toggle:focus,
.color-option:focus {
    outline: 3px solid rgba(102, 126, 234, 0.5);
    outline-offset: 2px;
}

.auth-link:focus,
.forgot-link:focus {
    outline: 2px solid rgba(102, 126, 234, 0.5);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Screen Reader Only Text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Categories.php Sayfa Özel Stilleri - style.css'e eklenecek */

/* Kategori İstatistik Kartları */
.category-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.stat-card-category {
    text-align: center;
    padding: 20px 15px;
    border-radius: 15px;
    color: white;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.8s ease;
}

.stat-card-category:hover::before {
    left: 100%;
}

.stat-card-category:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-medium);
}

.stat-number-category {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.stat-label-category {
    font-size: 0.95em;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Kategori Arama ve Filtre Kontrolleri */
.categories-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.categories-controls-left {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.categories-controls-right {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.search-input-category {
    position: relative;
}

.search-input-category input {
    padding-left: 35px;
    border-radius: 25px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.search-input-category input:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-input-category::before {
    content: '🔍';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    font-size: 1.1em;
}

/* Bulk İşlem Butonları */
.bulk-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.bulk-actions button {
    min-width: 120px;
    font-size: 0.9em;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.bulk-actions button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Kategori Tablosu Geliştirmeleri */
.categories-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.categories-table th {
    background: var(--header-bg);
    color: white;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95em;
    position: sticky;
    top: 0;
    z-index: 10;
}

.categories-table th:first-child {
    border-radius: 15px 0 0 0;
    width: 50px;
    text-align: center;
}

.categories-table th:last-child {
    border-radius: 0 15px 0 0;
    text-align: center;
    width: 150px;
}

.categories-table td {
    padding: 15px 12px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.categories-table tr:hover {
    background: var(--bg-secondary);
    transform: scale(1.01);
}

.categories-table tr:hover td {
    border-color: var(--border-focus);
}

.categories-table tr:last-child td {
    border-bottom: none;
}

.categories-table tr:last-child:hover td:first-child {
    border-radius: 0 0 0 15px;
}

.categories-table tr:last-child:hover td:last-child {
    border-radius: 0 0 15px 0;
}

/* Checkbox Stilleri */
.category-checkbox,
#select-all-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--border-focus);
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-checkbox:hover,
#select-all-checkbox:hover {
    transform: scale(1.1);
}

/* Kategori Adı Stili */
.category-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.05em;
}

/* Soru Sayısı Badge */
.question-count-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.question-count-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.4);
}

.question-count-badge.empty {
    background: linear-gradient(135deg, #ffc107 0%, #ff8c00 100%);
}

/* İşlem Butonları */
.action-buttons {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.action-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.action-btn.view {
    background: var(--bg-info);
    color: white;
}

.action-btn.edit {
    background: var(--bg-warning);
    color: white;
}

.action-btn.delete {
    background: var(--bg-danger);
    color: white;
}

/* Modal Geliştirmeleri */
#edit-modal {
    backdrop-filter: blur(8px);
    animation: fadeInModal 0.3s ease-out;
}

#edit-modal > div {
    animation: slideInModal 0.3s ease-out;
    box-shadow: var(--shadow-heavy);
}

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

@keyframes slideInModal {
    from { 
        transform: translate(-50%, -60%) scale(0.9);
        opacity: 0;
    }
    to { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* Loading ve Alert Geliştirmeleri */
.categories-loading {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

.categories-loading::before {
    content: '⏳';
    font-size: 2em;
    display: block;
    margin-bottom: 15px;
    animation: spin 2s linear infinite;
}

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

/* Empty State */
.categories-empty-state {
    text-align: center;
    padding: 60px 40px;
    color: var(--text-secondary);
}

.categories-empty-state .icon {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.7;
}

.categories-empty-state h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.4em;
}

.categories-empty-state p {
    font-size: 1.05em;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto 25px auto;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .categories-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .categories-controls-left,
    .categories-controls-right {
        justify-content: center;
    }
    
    .category-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-table {
        font-size: 0.9em;
    }
    
    .categories-table th,
    .categories-table td {
        padding: 10px 8px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 4px;
    }
    
    .bulk-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .bulk-actions button {
        min-width: 100px;
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    .category-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number-category {
        font-size: 1.8em;
    }
    
    #edit-modal > div {
        min-width: 90vw;
        margin: 20px;
    }
}

/* Not Çalışma Sistemi Stilleri - style.css dosyasının sonuna eklenecek */

/* Kategori Grid Sistemi */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.category-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: inherit;
    transition: width 0.3s ease;
}

.category-card:hover::before {
    width: 8px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.category-header h3 {
    margin: 0;
    font-size: 1.3em;
    font-weight: 600;
}

.note-count {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 500;
}

.category-description {
    color: var(--text-secondary);
    font-size: 0.9em;
    line-height: 1.5;
    margin-bottom: 20px;
}

.study-modes {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.study-modes .btn {
    flex: 1;
    min-width: 120px;
    font-size: 0.85em;
    padding: 8px 12px;
}

/* Not Çalışma Container */
.note-study-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Çalışma Header */
.study-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.study-info h2 {
    margin: 0 0 10px 0;
    font-size: 1.8em;
    font-weight: 600;
}

.progress-info {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.progress-info span {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 500;
}

.study-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

/* İlerleme Çubuğu */
.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.progress-fill {
    height: 100%;
    background: var(--bg-button);
    border-radius: 4px;
    transition: width 0.5s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: progress-shine 2s infinite;
}

@keyframes progress-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Not Kartı */
.note-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    position: relative;
}

.note-card:hover {
    box-shadow: var(--shadow-heavy);
}

.note-content {
    margin-bottom: 30px;
}

.note-text {
    font-size: 1.2em;
    line-height: 1.6;
    color: var(--text-primary);
    text-align: center;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 15px;
    border-left: 4px solid var(--border-focus);
    margin-bottom: 20px;
}

.note-tags {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.tag {
    background: var(--bg-button);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 500;
}

/* Not Değerlendirme */
.note-rating {
    text-align: center;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 15px;
    margin-bottom: 20px;
}

.note-rating p {
    margin-bottom: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.rating-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.rating-buttons .btn {
    min-width: 100px;
    font-size: 0.9em;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.rating-buttons .btn:hover {
    transform: translateY(-2px) scale(1.05);
}

/* Not Navigasyonu */
.note-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.nav-spacer {
    flex: 1;
}

.note-navigation .btn {
    min-width: 120px;
    font-weight: 500;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.empty-icon {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.5em;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

/* Not Yönetimi Stilleri */
.notes-manage-container {
    max-width: 1000px;
    margin: 0 auto;
}

.note-form {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

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

.note-form textarea {
    min-height: 120px;
    resize: vertical;
}

.notes-list {
    display: grid;
    gap: 15px;
}

.note-item {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
}

.note-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-medium);
}

.note-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.note-order {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.8em;
    font-weight: 500;
    min-width: 40px;
    text-align: center;
}

.note-item-content {
    margin-bottom: 15px;
    color: var(--text-primary);
    line-height: 1.5;
}

.note-item-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.note-item-actions .btn {
    padding: 6px 12px;
    font-size: 0.8em;
}

/* Not İstatistikleri */
.note-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.note-stat-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.note-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.note-stat-number {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 8px;
    background: var(--bg-button);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.note-stat-label {
    color: var(--text-secondary);
    font-size: 0.9em;
    font-weight: 500;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .study-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .progress-info {
        justify-content: center;
    }
    
    .study-controls {
        justify-content: center;
    }
    
    .note-card {
        padding: 25px;
    }
    
    .note-text {
        font-size: 1.1em;
        padding: 15px;
    }
    
    .rating-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .rating-buttons .btn {
        width: 100%;
        max-width: 200px;
    }
    
    .note-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .note-form-grid {
        grid-template-columns: 1fr;
    }
    
    .note-item {
        padding: 15px;
    }
    
    .note-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .note-item-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .note-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .note-study-container {
        padding: 10px;
    }
    
    .study-header {
        padding: 15px;
    }
    
    .note-card {
        padding: 20px;
    }
    
    .study-modes {
        flex-direction: column;
    }
    
    .study-modes .btn {
        min-width: auto;
    }
}

/* Alt Kategori Sistemi CSS Stilleri - style.css'e eklenecek */

/* Ana Kategori Kartları */
.category-card.main-category {
    background: var(--bg-card);
    border-radius: 18px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: visible;
}

.category-card.main-category::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--bg-button), 
        transparent 30%, 
        transparent 70%, 
        var(--bg-button));
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card.main-category:hover::before {
    opacity: 0.1;
}

/* Hiyerarşi İkonu */
.hierarchy-icon {
    font-size: 0.8em;
    margin-left: 8px;
    opacity: 0.7;
}

/* Alt Kategoriler Bölümü */
.subcategories {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px dashed var(--border-color);
    position: relative;
}

.subcategories-title {
    font-size: 1em;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.subcategories-title::before {
    content: '📂';
    font-size: 1.1em;
}

/* Alt Kategori Grid */
.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

/* Alt Kategori Kartları */
.subcategory-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.subcategory-card:hover {
    background: var(--bg-card);
    transform: translateX(5px);
    box-shadow: var(--shadow-light);
}

.subcategory-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: inherit;
    transition: width 0.3s ease;
}

.subcategory-card:hover::before {
    width: 6px;
}

/* Alt Kategori Header */
.subcategory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.subcategory-name {
    font-weight: 500;
    font-size: 0.9em;
    flex: 1;
    margin-right: 10px;
}

.subcategory-count {
    background: var(--bg-card);
    color: var(--text-secondary);
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 0.75em;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

/* Alt Kategori Aksiyonları */
.subcategory-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 4px 8px;
    font-size: 0.75em;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--bg-button);
    color: white;
    border-color: transparent;
    transform: translateY(-1px);
}

.btn-xs {
    padding: 4px 8px;
    font-size: 0.75em;
    min-width: auto;
}

/* Alt Kategori olarak işaretlenmiş kartlar */
.category-card.sub-category {
    background: linear-gradient(135deg, 
        var(--bg-card) 0%, 
        var(--bg-secondary) 100%);
    border-radius: 12px;
    padding: 20px;
    position: relative;
}

.category-card.sub-category::before {
    content: '└─';
    position: absolute;
    top: 15px;
    left: 10px;
    color: var(--text-muted);
    font-family: monospace;
    font-size: 1.2em;
}

.category-card.sub-category .category-header {
    padding-left: 25px;
}

/* Kategori Yolu Breadcrumb */
.category-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 0.85em;
    color: var(--text-secondary);
}

.category-breadcrumb .separator {
    color: var(--text-muted);
}

/* İstatistik Göstergesi */
.category-stats {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.stat-badge {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 0.75em;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Daraltılabilir Alt Kategoriler */
.subcategories-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
    user-select: none;
}

.subcategories-toggle:hover {
    background: var(--bg-secondary);
}

.subcategories-toggle .arrow {
    transition: transform 0.3s ease;
    font-size: 0.8em;
}

.subcategories-toggle.collapsed .arrow {
    transform: rotate(-90deg);
}

.subcategories.collapsed .subcategories-grid {
    display: none;
}

/* Animasyonlar */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.subcategory-card {
    animation: slideInFromLeft 0.3s ease-out;
}

.subcategory-card:nth-child(1) { animation-delay: 0.1s; }
.subcategory-card:nth-child(2) { animation-delay: 0.2s; }
.subcategory-card:nth-child(3) { animation-delay: 0.3s; }
.subcategory-card:nth-child(4) { animation-delay: 0.4s; }

/* Responsive Tasarım */
@media (max-width: 768px) {
    .subcategories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-card.main-category {
        padding: 20px;
    }
    
    .subcategory-actions {
        justify-content: flex-start;
    }
    
    .subcategory-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .subcategory-count {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .subcategories {
        margin-top: 15px;
        padding-top: 15px;
    }
    
    .subcategory-card {
        padding: 12px;
    }
    
    .subcategory-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-outline {
        text-align: center;
        width: 100%;
    }
}

/* Dark Mode Uyarlamaları */
[data-theme="dark"] .subcategory-card {
    background: #1a1a1a;
    border-color: #404040;
}

[data-theme="dark"] .subcategory-card:hover {
    background: #2d2d2d;
}

[data-theme="dark"] .subcategory-count {
    background: #2d2d2d;
    border-color: #404040;
}

[data-theme="dark"] .btn-outline {
    border-color: #404040;
    color: #b0b0b0;
}

[data-theme="dark"] .btn-outline:hover {
    background: var(--bg-button);
    color: white;
}

[data-theme="dark"] .stat-badge {
    background: #1a1a1a;
    border-color: #404040;
}

/* Kategori Hiyerarşi Seçici */
.category-hierarchy-selector {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.hierarchy-selector-title {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hierarchy-path {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.hierarchy-level {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.hierarchy-level:hover {
    background: var(--bg-button);
    color: white;
    border-color: transparent;
}

.hierarchy-level.active {
    background: var(--bg-button);
    color: white;
    border-color: transparent;
    font-weight: 500;
}

.hierarchy-separator {
    color: var(--text-muted);
    font-size: 1.2em;
}

/* Kategori Seçimi için Dropdown */
.category-dropdown {
    position: relative;
    display: inline-block;
}

.category-dropdown-button {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.category-dropdown-button:hover {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.category-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 5px;
    display: none;
}

.category-dropdown-content.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

.category-option {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-option:hover {
    background: var(--bg-secondary);
}

.category-option:last-child {
    border-bottom: none;
}

.category-option.main-category {
    font-weight: 600;
    background: var(--bg-secondary);
}

.category-option.sub-category {
    padding-left: 32px;
    font-size: 0.9em;
    color: var(--text-secondary);
}

.category-option.sub-category::before {
    content: '└─';
    color: var(--text-muted);
    font-family: monospace;
    margin-right: 8px;
}

/* Hızlı Filtreler */
.quick-filters {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.filter-button {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 8px 16px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85em;
    text-decoration: none;
}

.filter-button:hover,
.filter-button.active {
    background: var(--bg-button);
    color: white;
    border-color: transparent;
    transform: translateY(-1px);
}

/* İlerleme Göstergesi Her Kategori İçin */
.category-progress {
    margin-top: 10px;
    padding: 8px;
    background: var(--bg-secondary);
    border-radius: 8px;
    font-size: 0.8em;
}

.progress-mini {
    width: 100%;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 5px;
}

.progress-mini-fill {
    height: 100%;
    background: var(--bg-button);
    transition: width 0.3s ease;
}

/* Kategori İstatistikleri Widget */
.category-stats-widget {
    background: linear-gradient(135deg, var(--bg-button) 0%, var(--bg-success) 100%);
    color: white;
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
    text-align: center;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}

.stat-item-mini {
    text-align: center;
}

.stat-number-mini {
    font-size: 1.2em;
    font-weight: bold;
    display: block;
}

.stat-label-mini {
    font-size: 0.7em;
    opacity: 0.9;
}

/* Tooltip'ler */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.tooltip:hover::after {
    opacity: 1;
}

/* Loading Animasyonu */
.category-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--text-secondary);
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-top: 2px solid var(--bg-button);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== INDEX.PHP HERO SECTION VE ÖZELLİKLER - style.css'e eklenecek ===== */

/* Hero Section Stilleri */
.hero-section {
    background: linear-gradient(135deg, 
        var(--bg-card) 0%, 
        var(--bg-secondary) 50%, 
        var(--bg-card) 100%);
    border-radius: 25px;
    padding: 40px 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-button);
    border-radius: 25px 25px 0 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
}

.hero-greeting {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hero-time-icon {
    font-size: 2em;
    animation: bounce 2s ease-in-out infinite;
}

.hero-greeting-text {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--text-primary);
}

.hero-role-badge {
    background: var(--bg-button);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
}

.hero-message .hero-subtitle {
    font-size: 1.2em;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.hero-motivation {
    font-style: italic;
    color: var(--text-muted);
    font-size: 1em;
    padding: 15px;
    background: var(--bg-secondary);
    border-radius: 10px;
    border-left: 4px solid var(--border-focus);
}

.hero-stats-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.hero-stat-item {
    text-align: center;
    padding: 20px 15px;
    background: var(--bg-primary);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.hero-stat-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
}

.hero-stat-number {
    font-size: 2em;
    font-weight: bold;
    color: var(--border-focus);
    margin-bottom: 5px;
}

.hero-stat-label {
    font-size: 0.85em;
    color: var(--text-secondary);
}

.hero-weather {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--bg-primary);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.weather-icon {
    font-size: 1.5em;
}

.weather-temp {
    font-weight: bold;
    color: var(--text-primary);
}

.weather-desc {
    color: var(--text-secondary);
    font-size: 0.9em;
}

.hero-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.hero-action-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: var(--border-focus);
}

.hero-action-btn.primary-action {
    background: var(--bg-button);
    color: white;
    border-color: transparent;
}

.action-icon {
    font-size: 2em;
    min-width: 50px;
}

.action-title {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.action-subtitle {
    font-size: 0.9em;
    opacity: 0.8;
}

/* Dashboard Container */
.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* Quick Stats Grid */
.quick-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.quick-stat-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-button);
    border-radius: 20px 20px 0 0;
}

.quick-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.quick-stat-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.quick-stat-number {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 10px;
    background: var(--bg-button);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quick-stat-label {
    font-size: 1em;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Widget Grid */
.widget-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.widget-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.widget-title {
    font-size: 1.4em;
    font-weight: bold;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-meta {
    font-size: 0.9em;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    padding: 5px 10px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

/* Daily Progress */
.daily-progress {
    margin-bottom: 20px;
}

.progress-bar-container {
    background: var(--bg-secondary);
    border-radius: 15px;
    height: 20px;
    margin: 15px 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.progress-bar-fill {
    height: 100%;
    background: var(--bg-success);
    border-radius: 15px;
    transition: width 0.8s ease;
    position: relative;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    color: var(--text-secondary);
}

/* Achievement Badges */
.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.achievement-badge {
    text-align: center;
    padding: 15px 10px;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.achievement-badge.earned {
    background: var(--bg-success);
    color: white;
    border-color: transparent;
    transform: scale(1.05);
    box-shadow: var(--shadow-light);
}

.achievement-badge.locked {
    opacity: 0.5;
    background: var(--bg-secondary);
    cursor: not-allowed;
}

.achievement-badge:hover:not(.locked) {
    transform: translateY(-3px) scale(1.08);
    box-shadow: var(--shadow-medium);
}

.achievement-icon {
    font-size: 2em;
    margin-bottom: 10px;
}

.achievement-title {
    font-size: 0.8em;
    font-weight: bold;
}

/* Recent Activities */
.activity-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}

.activity-list::-webkit-scrollbar {
    width: 6px;
}

.activity-list::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 3px;
}

.activity-list::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.activity-list::-webkit-scrollbar-thumb:hover {
    background: var(--border-focus);
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.activity-item:hover {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    transform: translateX(5px);
}

.activity-icon {
    font-size: 1.5em;
    width: 40px;
    text-align: center;
    background: var(--bg-secondary);
    border-radius: 50%;
    padding: 8px;
    border: 1px solid var(--border-color);
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 5px;
    line-height: 1.3;
}

.activity-meta {
    font-size: 0.85em;
    color: var(--text-secondary);
    line-height: 1.2;
}

.activity-score {
    font-weight: bold;
    color: var(--border-focus);
}

/* Today's Special */
.todays-special {
    
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.todays-special * {
    position: relative;
    z-index: 2;
    color: white !important;
}

.special-icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
}

.special-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

.special-content {
    font-size: 0.95em;
    line-height: 1.4;
    margin-bottom: 15px;
    display: block;
}

.special-content strong {
    color: white !important;
    font-weight: 600;
}

.todays-special a {
    display: inline-block !important;
    margin-top: 15px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.3) !important;
    border-radius: 15px;
    color: white !important;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.todays-special a:hover {
    background: rgba(255,255,255,0.4) !important;
    transform: translateY(-1px);
}

/* Dark mode için özel ayar */
[data-theme="dark"] .todays-special {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%) !important;
    border: 1px solid #4a5568;
}

/* Floating Action Button */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.fab-main {
    width: 60px;
    height: 60px;
    background: var(--bg-button);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5em;
    cursor: pointer;
    box-shadow: var(--shadow-heavy);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.fab-main:hover {
    transform: translateY(-5px) rotate(45deg);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.fab-main:active {
    transform: translateY(-3px) rotate(45deg);
}

.fab-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.fab-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    white-space: nowrap;
    animation: fabItemSlide 0.3s ease-out;
}

.fab-item:nth-child(1) { animation-delay: 0.1s; }
.fab-item:nth-child(2) { animation-delay: 0.2s; }
.fab-item:nth-child(3) { animation-delay: 0.3s; }

.fab-button {
    width: 45px;
    height: 45px;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    font-size: 1.2em;
    cursor: pointer;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.fab-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    background: var(--bg-button);
    color: white;
    border-color: transparent;
}

.fab-label {
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    font-weight: 500;
}

/* Enhanced Table Styles */
.enhanced-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.enhanced-table thead tr {
    background: var(--bg-secondary);
}

.enhanced-table th,
.enhanced-table td {
    padding: 15px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.enhanced-table th {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.enhanced-table td {
    color: var(--text-primary);
}

.enhanced-table tbody tr {
    transition: all 0.3s ease;
}

.enhanced-table tbody tr:hover {
    background: var(--bg-secondary);
    transform: translateX(3px);
}

.enhanced-table tbody tr:last-child td {
    border-bottom: none;
}

/* Status Badges */
.status-badge {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 500;
    text-align: center;
    min-width: 60px;
    display: inline-block;
}

.status-excellent {
    background: #28a745;
    color: white;
}

.status-good {
    background: #17a2b8;
    color: white;
}

.status-average {
    background: #ffc107;
    color: #333;
}

.status-poor {
    background: #dc3545;
    color: white;
}

/* Empty State */
.empty-state-enhanced {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-secondary);
}

.empty-state-enhanced .empty-icon {
    font-size: 5em;
    margin-bottom: 20px;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

.empty-state-enhanced h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.3em;
}

.empty-state-enhanced p {
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .widget-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats-mini {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-stats-mini {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        grid-template-columns: 1fr;
    }

    .achievement-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fab-container {
        bottom: 20px;
        right: 20px;
    }

    .fab-main {
        width: 50px;
        height: 50px;
        font-size: 1.3em;
    }

    .dashboard-container {
        padding: 15px;
        gap: 20px;
    }

    .widget-card {
        padding: 20px;
    }

    .hero-section {
        padding: 25px 20px;
        margin-bottom: 20px;
    }

    .hero-greeting-text {
        font-size: 1.5em;
    }

    .hero-time-icon {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .quick-stats-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-greeting {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .enhanced-table {
        font-size: 0.9em;
    }

    .enhanced-table th,
    .enhanced-table td {
        padding: 10px 8px;
    }
}

/* Animasyonlar */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { 
        transform: translateY(0); 
    }
    40% { 
        transform: translateY(-10px); 
    }
    60% { 
        transform: translateY(-5px); 
    }
}

@keyframes shimmer {
    0% { 
        transform: translateX(-100%); 
    }
    100% { 
        transform: translateX(100%); 
    }
}

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

@keyframes fabItemSlide {
    from {
        opacity: 0;
        transform: translateY(10px) translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Widget specific animations */
.widget-card {
    animation: fadeInUp 0.6s ease-out;
}

.widget-card:nth-child(1) { animation-delay: 0.1s; }
.widget-card:nth-child(2) { animation-delay: 0.2s; }
.widget-card:nth-child(3) { animation-delay: 0.3s; }

.quick-stat-card {
    animation: fadeInUp 0.5s ease-out;
}

.quick-stat-card:nth-child(1) { animation-delay: 0.1s; }
.quick-stat-card:nth-child(2) { animation-delay: 0.2s; }
.quick-stat-card:nth-child(3) { animation-delay: 0.3s; }
.quick-stat-card:nth-child(4) { animation-delay: 0.4s; }

/* Accessibility improvements */
.hero-action-btn:focus,
.fab-button:focus,
.achievement-badge:focus {
    outline: 3px solid var(--border-focus);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .fab-container,
    .hero-actions,
    .todays-special {
        display: none;
    }
    
    .widget-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-section,
    .widget-card,
    .quick-stat-card {
        border: 2px solid;
    }
    
    .achievement-badge.earned {
        border: 3px solid;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-time-icon {
        animation: none;
    }
}

/* Dark mode specific adjustments */
[data-theme="dark"] .todays-special {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
}

[data-theme="dark"] .fab-label {
    background: #2d3748;
    border-color: #4a5568;
}

[data-theme="dark"] .status-badge.status-average {
    color: #1a1a1a;
}

/* Ripple animasyonu */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ===== INDEX.PHP CSS SON ===== */

/* Çerez Banner Stilleri */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    border-top: 3px solid rgba(255,255,255,0.2);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text h3 {
    margin: 0 0 8px 0;
    font-size: 1.2em;
    font-weight: 600;
}

.cookie-banner-text p {
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cookie-btn-accept {
    background: #28a745;
    color: white;
}

.cookie-btn-accept:hover {
    background: #218838;
    transform: translateY(-1px);
}

.cookie-btn-settings {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.cookie-btn-settings:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-1px);
}

.cookie-btn-policy {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    text-decoration: underline;
}

.cookie-btn-policy:hover {
    background: rgba(255,255,255,0.1);
    text-decoration: none;
}

/* Çerez Ayarları Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-settings-modal.show {
    display: flex;
}

.cookie-settings-content {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.cookie-settings-header {
    text-align: center;
    margin-bottom: 25px;
}

.cookie-settings-header h2 {
    margin: 0 0 10px 0;
    color: var(--text-primary);
    font-size: 1.5em;
}

.cookie-settings-header p {
    margin: 0;
    color: var(--text-muted);
}

.cookie-category {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cookie-category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-primary);
}

.cookie-toggle {
    position: relative;
    width: 50px;
    height: 26px;
    background: #ccc;
    border-radius: 13px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cookie-toggle.active {
    background: #28a745;
}

.cookie-toggle.disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.cookie-toggle::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cookie-toggle.active::after {
    transform: translateX(24px);
}

.cookie-category-description {
    color: var(--text-muted);
    font-size: 0.9em;
    line-height: 1.5;
}

.cookie-settings-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* Çerez Politikası Sayfası Stilleri */
.cookie-info {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid var(--border-color);
}

.cookie-types {
    display: grid;
    gap: 20px;
    margin: 25px 0;
}

.cookie-type {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--border-color);
    position: relative;
}

.cookie-type.essential {
    border-left: 5px solid #dc3545;
}

.cookie-type.functional {
    border-left: 5px solid #007bff;
}

.cookie-type.analytics {
    border-left: 5px solid #28a745;
}

.cookie-type.performance {
    border-left: 5px solid #ffc107;
}

.cookie-type-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-type-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--text-primary);
}

.cookie-icon {
    font-size: 24px;
}

.cookie-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
}

.cookie-status.required {
    background: #dc3545;
    color: white;
}

.cookie-status.optional {
    background: #28a745;
    color: white;
}

.cookie-examples {
    background: rgba(0,0,0,0.05);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.cookie-examples strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 8px;
}

.cookie-note {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.9em;
    margin-top: 10px;
}

.usage-purposes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.purpose-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.purpose-icon {
    font-size: 32px;
    background: white;
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.purpose-content h3 {
    margin: 0 0 8px 0;
    color: var(--text-primary);
}

.purpose-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9em;
}

.cookie-management {
    margin: 25px 0;
}

.management-section {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 10px;
    margin: 15px 0;
    border: 1px solid var(--border-color);
}

.management-section h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
}

.cookie-settings-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.cookie-settings-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.browser-instructions {
    display: grid;
    gap: 15px;
}

.browser-item {
    background: rgba(0,0,0,0.05);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.browser-item strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 5px;
}

.browser-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9em;
}

.impact-warnings {
    display: grid;
    gap: 15px;
    margin: 25px 0;
}

.warning-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.warning-item.warning {
    background: #fff3cd;
    border-color: #ffeaa7;
}

.warning-item.info {
    background: #d1ecf1;
    border-color: #bee5eb;
}

.warning-item.neutral {
    background: #f8f9fa;
    border-color: #dee2e6;
}

.warning-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.warning-content h3 {
    margin: 0 0 8px 0;
    color: var(--text-primary);
}

.warning-content p {
    margin: 0;
    color: var(--text-muted);
}

.third-party-cookies {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}

.third-party-item {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.third-party-item h3 {
    margin: 0 0 10px 0;
    color: var(--text-primary);
}

.third-party-item p {
    margin: 0 0 10px 0;
    color: var(--text-muted);
}

.third-party-item a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.third-party-item a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner-actions {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
    
    .cookie-settings-content {
        margin: 10px;
        padding: 20px;
    }
    
    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .usage-purposes {
        grid-template-columns: 1fr;
    }
    
    .cookie-settings-actions {
        flex-direction: column;
    }
}

/* Dark mode uyumluluğu */
[data-theme="dark"] .cookie-banner {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
}

[data-theme="dark"] .warning-item.warning {
    background: #6c5200;
    color: #fff3cd;
}

[data-theme="dark"] .warning-item.info {
    background: #004085;
    color: #d1ecf1;
}

[data-theme="dark"] .warning-item.neutral {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

[data-theme="dark"] .cookie-examples {
    background: rgba(255,255,255,0.1);
}

[data-theme="dark"] .browser-item {
    background: rgba(255,255,255,0.1);
}

/* Print stilleri */
@media print {
    .cookie-banner,
    .cookie-settings-modal,
    .legal-actions {
        display: none !important;
    }
    
    .cookie-type {
        page-break-inside: avoid;
        margin-bottom: 20px;
    }
}

/* 404 ERROR PAGE STYLES - style.css dosyasının sonuna eklenecek */

/* ===== 404 HATA SAYFASI ===== */
.error-404-content {
    max-width: 700px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Hata Başlığı */
.error-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--bg-card);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.error-code {
    font-size: 80px;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    text-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    flex-shrink: 0;
}

.error-title h1 {
    font-size: 28px;
    color: var(--text-primary);
    margin: 0 0 10px 0;
    font-weight: 700;
}

.error-title p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Öneriler Kartı */
.suggestions-card {
    background: var(--bg-card);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
    overflow: hidden;
}

.card-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 20px 25px;
    text-align: center;
}

.card-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.card-body {
    padding: 25px;
}

.suggestion-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.suggestion-item:last-child {
    margin-bottom: 0;
}

.suggestion-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 50%;
    border: 2px solid var(--border-color);
}

.suggestion-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.suggestion-content strong {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
}

.suggestion-content span {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.4;
}

/* Aksiyon Butonları */
.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-actions .btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 140px;
    justify-content: center;
}

.btn-icon {
    font-size: 16px;
}

.btn-text {
    font-size: 14px;
}

.error-actions .btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.error-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.error-actions .btn-secondary {
    background: #6c757d;
    color: white;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.error-actions .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
}

.error-actions .btn-outline {
    background: transparent;
    color: var(--border-focus);
    border: 2px solid var(--border-focus);
}

.error-actions .btn-outline:hover {
    background: var(--border-focus);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .error-404-content {
        margin: 20px auto;
        padding: 0 15px;
    }
    
    .error-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 25px 20px;
    }
    
    .error-code {
        font-size: 60px;
    }
    
    .error-title h1 {
        font-size: 24px;
    }
    
    .error-title p {
        font-size: 14px;
    }
    
    .card-header {
        padding: 15px 20px;
    }
    
    .card-header h3 {
        font-size: 16px;
    }
    
    .card-body {
        padding: 20px;
    }
    
    .suggestion-item {
        padding: 15px;
        gap: 12px;
    }
    
    .suggestion-icon {
        font-size: 20px;
        width: 35px;
        height: 35px;
    }
    
    .suggestion-content strong {
        font-size: 14px;
    }
    
    .suggestion-content span {
        font-size: 13px;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .error-actions .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .error-header {
        padding: 20px 15px;
    }
    
    .error-code {
        font-size: 50px;
    }
    
    .error-title h1 {
        font-size: 20px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    .suggestion-item {
        padding: 12px;
    }
}

/* Dark Theme Support */
[data-theme="dark"] .error-404-content {
    /* Dark theme özel stilleri otomatik uygulanacak */
}

[data-theme="dark"] .suggestions-card {
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

[data-theme="dark"] .error-header {
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-404-content > * {
    animation: fadeInUp 0.6s ease-out;
}

.error-header {
    animation-delay: 0.1s;
}

.suggestions-card {
    animation-delay: 0.2s;
}

.error-actions {
    animation-delay: 0.3s;
}

/* ===== 404 STYLES SON ===== */

/* ===== 404 STYLES SON ===== */

/* USERS.PHP STYLES - style.css dosyasının sonuna eklenecek */

/* ===== KULLANICI YÖNETİMİ SAYFA STİLLERİ ===== */

/* Sayfa Header */
.page-header {
    margin-bottom: 30px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--border-focus);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    text-decoration: underline;
    color: var(--text-primary);
}

.breadcrumb-separator {
    color: var(--text-muted);
    font-weight: bold;
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 500;
}

.page-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2em;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.title-icon {
    font-size: 1.2em;
}

.title-badge {
    background: var(--bg-button);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.5em;
    font-weight: 500;
}

/* Alert Stilleri */
.alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-light);
    border: 1px solid;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

[data-theme="dark"] .alert-success {
    background: rgba(40, 167, 69, 0.2);
    color: #40df7d;
    border-color: rgba(40, 167, 69, 0.3);
}

[data-theme="dark"] .alert-danger {
    background: rgba(220, 53, 69, 0.2);
    color: #ff6b8a;
    border-color: rgba(220, 53, 69, 0.3);
}

.alert-icon {
    font-size: 1.2em;
}

/* İstatistik Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 15px 15px 0 0;
}

.stat-card.stat-primary::before {
    background: var(--bg-button);
}

.stat-card.stat-success::before {
    background: var(--bg-success);
}

.stat-card.stat-info::before {
    background: var(--bg-info);
}

.stat-card.stat-warning::before {
    background: var(--bg-warning);
}

.stat-card.stat-danger::before {
    background: var(--bg-danger);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    font-size: 3em;
    opacity: 0.7;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1em;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-trend {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.8em;
}

.trend-positive {
    color: #28a745;
}

.trend-negative {
    color: #dc3545;
}

.trend-neutral {
    color: var(--text-muted);
}

/* Kullanıcılar Tablosu Container */
.users-table-container {
    background: var(--bg-card);
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.table-header {
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.table-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.table-title h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.5em;
}

.table-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

/* Arama Kutusu */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    padding: 10px 15px 10px 40px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    min-width: 250px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-icon {
    position: absolute;
    left: 15px;
    color: var(--text-muted);
    font-size: 16px;
    pointer-events: none;
}

/* Filtre Seçiciler */
.filter-dropdown,
.status-filter {
    position: relative;
}

.filter-select {
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.filter-select:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Tablo Stilleri */
.table-wrapper {
    overflow-x: auto;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.users-table thead {
    background: var(--bg-secondary);
}

.users-table th {
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}

.th-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.sort-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 12px;
    padding: 2px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.sort-btn:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.users-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.users-table tbody tr:hover {
    background: var(--bg-secondary);
    transform: translateX(3px);
}

.users-table td {
    padding: 15px 12px;
    vertical-align: top;
}

/* Kullanıcı Bilgileri */
.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
}

.user-avatar {
    flex-shrink: 0;
}

.avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-button);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
}

.user-details {
    flex: 1;
}

.user-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.user-username {
    font-size: 12px;
    color: var(--text-muted);
}

/* İletişim Bilgileri */
.contact-info {
    min-width: 200px;
}

.email {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-size: 13px;
    color: var(--text-primary);
}

.email-icon {
    font-size: 14px;
}

.last-login {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

.login-icon {
    font-size: 12px;
}

.no-login {
    color: var(--text-muted);
    font-style: italic;
}

/* Rol Bilgileri */
.role-info {
    min-width: 120px;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 3px;
    margin-right: 3px;
}

.role-danger {
    background: #dc3545;
    color: white;
}

.role-info {
    background: #17a2b8;
    color: white;
}

.role-success {
    background: #28a745;
    color: white;
}

.role-secondary {
    background: #6c757d;
    color: white;
}

/* Aktivite Bilgileri */
.activity-info {
    min-width: 120px;
}

.test-count {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}

.activity-icon {
    font-size: 14px;
}

.count-number {
    font-weight: bold;
    color: var(--text-primary);
}

.count-label {
    font-size: 11px;
    color: var(--text-muted);
}

.activity-level-badge {
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 500;
}

.level-high {
    background: #28a745;
    color: white;
}

.level-medium {
    background: #ffc107;
    color: #212529;
}

.level-low {
    background: #6c757d;
    color: white;
}

/* Durum Bilgileri */
.status-info {
    min-width: 100px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.status-aktif {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-pasif {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

[data-theme="dark"] .status-aktif {
    background: rgba(40, 167, 69, 0.2);
    color: #40df7d;
    border-color: rgba(40, 167, 69, 0.3);
}

[data-theme="dark"] .status-pasif {
    background: rgba(220, 53, 69, 0.2);
    color: #ff6b8a;
    border-color: rgba(220, 53, 69, 0.3);
}

.status-icon {
    font-size: 14px;
}

/* Tarih Bilgileri */
.date-info {
    min-width: 100px;
}

.register-date {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
    font-size: 13px;
    color: var(--text-primary);
}

.date-icon {
    font-size: 12px;
}

.register-time {
    font-size: 11px;
    color: var(--text-muted);
}

/* İşlem Butonları */
.actions {
    min-width: 200px;
}

.action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border: none;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 60px;
    justify-content: center;
}

.action-btn .btn-icon {
    font-size: 12px;
}

.action-btn .btn-text {
    font-size: 11px;
}

.action-btn.btn-primary {
    background: var(--bg-button);
    color: white;
}

.action-btn.btn-success {
    background: var(--bg-success);
    color: white;
}

.action-btn.btn-warning {
    background: var(--bg-warning);
    color: white;
}

.action-btn.btn-info {
    background: var(--bg-info);
    color: white;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Boş Durum */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-icon {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    margin-bottom: 10px;
    color: var(--text-primary);
}

/* Modal Stilleri */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--bg-card);
    border-radius: 15px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-heavy);
    border: 1px solid var(--border-color);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
    border-radius: 15px 15px 0 0;
}

.modal-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.3em;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: var(--bg-secondary);
    border-radius: 0 0 15px 15px;
}

/* Modal İçi Kullanıcı Bilgileri */
.user-info-modal {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--bg-secondary);
    border-radius: 10px;
}

.user-avatar-modal .avatar-circle {
    width: 50px;
    height: 50px;
    font-size: 18px;
}

.user-name-modal {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--text-primary);
}

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

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

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .table-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-input {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        font-size: 1.5em;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 2em;
    }
    
    .table-header {
        padding: 20px;
    }
    
    .table-title {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .table-actions {
        gap: 10px;
    }
    
    .search-input {
        min-width: 100%;
    }
    
    .users-table {
        font-size: 12px;
    }
    
    .users-table th,
    .users-table td {
        padding: 10px 8px;
    }
    
    .user-info {
        min-width: 150px;
    }
    
    .contact-info {
        min-width: 150px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 5px;
    }
    
    .action-btn {
        width: 100%;
        min-width: auto;
    }
    
    .modal-content {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 15px 20px;
    }
    
    .modal-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .users-table {
        font-size: 11px;
    }
    
    .user-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        min-width: 120px;
    }
    
    .avatar-circle {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.8em;
    }
}

/* Dark Theme Uyumluluğu */
[data-theme="dark"] .users-table-container {
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

[data-theme="dark"] .stat-card {
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

[data-theme="dark"] .stat-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

[data-theme="dark"] .modal-content {
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* ===== KULLANICI YÖNETİMİ STİLLERİ SON ===== */