/* ====================================================================
   ÖĞRENME LİSTESİ SAYFA STİLLERİ
   ==================================================================== */

/* İstatistik Kartları */
.stat-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.3);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.stat-icon.bg-primary { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.stat-icon.bg-success { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.stat-icon.bg-warning { background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); }
.stat-icon.bg-info { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Kelime Grid/Liste */
.words-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.words-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Kelime Kartı */
.word-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.word-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.3);
}

.word-card.completed {
    opacity: 0.7;
    border-color: rgba(34, 197, 94, 0.5);
}

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

.word-english {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin: 0;
}

.word-turkish {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin: 5px 0 0 0;
}

.word-badges {
    display: flex;
    gap: 8px;
    align-items: center;
}

.priority-badge {
    font-size: 1.2rem;
}

.word-example {
    background: rgba(255,255,255,0.05);
    border-left: 3px solid rgba(255,255,255,0.3);
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.word-example small {
    color: rgba(255,255,255,0.9);
}

.word-notes {
    background: rgba(255, 193, 7, 0.1);
    border-left: 3px solid #ffc107;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.word-notes small {
    color: rgba(255,255,255,0.9);
}

.word-progress {
    margin-bottom: 15px;
}

.word-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.word-meta small {
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.word-actions .btn {
    flex: 1;
    max-width: 50px;
}

.word-actions .btn.active {
    background-color: #ffc107;
    border-color: #ffc107;
    color: white;
}

/* Filtre Paneli */
.game-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 20px;
}

.game-card h5 {
    color: white;
    font-weight: bold;
    margin-bottom: 20px;
}

.form-label {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    margin-bottom: 8px;
}

.form-select,
.form-control {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    border-radius: 8px;
}

.form-select:focus,
.form-control:focus {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.1);
}

.form-select option {
    background: #2d3748;
    color: white;
}

.input-group-text {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
}

/* Boş Durum */
#emptyState {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border: 2px dashed rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 60px 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .words-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .word-card-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .word-badges {
        align-self: flex-start;
    }
}

/* Liste Görünümü için Özel Stiller */
.words-list .word-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.words-list .word-card-header {
    flex: 1;
    margin-bottom: 0;
}

.words-list .word-progress {
    min-width: 200px;
}

@media (max-width: 768px) {
    .words-list .word-card {
        flex-direction: column;
    }
    
    .words-list .word-progress {
        width: 100%;
    }
}

/* Sticky Filtre Paneli */
.sticky-top {
    position: sticky;
    z-index: 100;
}

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

.word-card {
    animation: fadeIn 0.3s ease-out;
}

/* Loading Spinner */
.spinner-border {
    border-width: 3px;
}
