/* FLASHCARDS MAIN */
.flashcards-page {
    padding-top: 40px;
    padding-bottom: 60px;
}

.flashcards-title {
    font-size: 34px;
    font-weight: 700;
    color: #0d3b66;
}

.flashcards-subtitle {
    font-size: 15px;
    color: #335;
}

/* CATEGORY BUTTONS */
.flashcat-btn {
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid #0d6efd;
    background: #fff;
    color: #0d6efd;
    font-weight: 500;
    transition: 0.2s;
}

.flashcat-btn:hover,
.flashcat-btn.is-active {
    background: #0d6efd;
    color: #fff !important;
}

/* FLASHCARD GRID */
.flashcard-card {
    perspective: 1000px;
    cursor: pointer;
}

.flashcard-inner {
    width: 100%;
    min-height: 320px;  /* YÜKSEKLIK ARTTI */
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    position: relative;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    padding: 20px;
}


.flashcard-card.flipped .flashcard-inner {
    transform: rotateY(180deg);
}

.flashcard-face {
    position: absolute;
    width: 100%;
    backface-visibility: hidden;
    left: 0;
    top: 0;
    padding: 20px;
}

.flashcard-back {
    transform: rotateY(180deg);
}

/* DIFFICULTY BADGES */
.flashcard-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    color: #fff;
    font-weight: 600;
}

.badge-easy {
    background: #28a745;
}
.badge-medium {
    background: #ffc107;
    color: #000;
}
.badge-hard {
    background: #dc3545;
}

/* TEXT */
.flashcard-text {
    font-size: 15px;
    color: #222;
}

.flashcard-tag {
    font-size: 12px;
    color: #0d6efd;
    font-weight: 600;
}

.flashcard-hint {
    font-size: 12px;
    color: #777;
}
.flashcards-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.flashcards-info {
    min-width: 120px;
    text-align: center;
}

/* Sayfalama gizleme sınıfı */
.flashcard-column.page-hidden {
    display: none !important;
}

.flashcards-diff-filters .diff-btn {
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    margin: 0 3px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #374151;
}

.flashcards-diff-filters .diff-btn:hover {
    background: #e5f2ff;
    border-color: #1d9bf0;
    color: #1d4ed8;
}

.flashcards-diff-filters .diff-btn.diff-active {
    background: #1d9bf0;
    border-color: #1d9bf0;
    color: #ffffff;
}

/* --- Yazı Puntolarını Büyütme (+2px) --- */
.flashcard-card .flashcard-text {
    font-size: 18px !important; /* önce 16px idi → 18px yaptık */
    line-height: 1.55;
}

.flashcards-title {
    font-size: 40px !important;
}

.flashcards-subtitle {
    font-size: 20px !important;
}

/* Butonlar */
.flashcat-btn {
    font-size: 16px !important;
}

/* Zorluk rozetleri */
.flashcard-badge {
    font-size: 14px !important;
}

/* --- Kart Arka Plan Gradyanı --- */
.flashcard-card {
    background: linear-gradient(135deg, #2EA3DB 0%, #208ECF 50%, #176BA8 100%);
    border-radius: 16px;
    padding: 20px;
    transition: transform .3s ease, box-shadow .3s ease;
    color: #fff; /* Metinlerin beyaz görünmesi için */
}

/* Ön ve arka yüzlerin arka planı */
.flashcard-front, 
.flashcard-back {
    background: transparent !important;  /* Kart iç yüzleri çoğunlukla görünürlüğü bozmasın */
    color: #fff !important;
}

/* Hover efekti */
.flashcard-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}

