body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}

.min-vh-100 {
    min-height: 100vh; 
}

.card {
    border-radius: 1rem; 
    border: none; 
}

.btn-outline-info {
    font-weight: bold;
    min-width: 80px; 
}

.btn-outline-info:hover {
    background-color: var(--bs-info);
    color: white;
}

.btn-check:checked + .btn-outline-info {
    background-color: var(--bs-info);
    color: white;
    border-color: var(--bs-info);
    box-shadow: 0 0 0 .25rem rgba(13, 202, 240, .25);
}

.form-control-lg {
    border-radius: 0.5rem;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    font-weight: bold;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

@media (max-width: 576px) {
    .btn-outline-info {
        min-width: unset; 
        flex: 1 1 auto; 
    }
    .d-flex.flex-wrap.justify-content-center.gap-2 {
        gap: 0.5rem !important; 
    }
}

.navbar-text {
    font-size: 1.1rem;
}

#storyContent {
    line-height: 1.8; 
    font-size: 1.15rem;
}

.story-word {
    cursor: pointer;
    border-bottom: 1px dotted #007bff; 
    transition: background-color 0.2s ease-in-out;
}

.story-word:hover {
    background-color: #e2f0ff; 
    border-bottom-color: transparent; 
}

.form-check-label {
    font-size: 1.05rem;
    cursor: pointer;
}

.form-check-input:checked + .form-check-label {
    font-weight: bold;
    color: var(--bs-primary);
}

.btn-lg i {
    margin-right: 0.5rem;
}

#loadingScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f8f9fa; 
    z-index: 9999; 
    display: flex; 
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out; 
}

#loadingScreen.hidden {
    opacity: 0;
    visibility: hidden; 
    pointer-events: none; 
}
.story-word.word-current {
    background-color: yellow;
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.story-word.word-correct {
    background-color: #d4edda;
    color: #155724;
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.story-word.word-incorrect {
    background-color: #f8d7da;
    color: #721c24;
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

/* Telaffuz Pratiği Cümle Vurgulama Stili */
.story-sentence.sentence-current {
    background-color: rgba(173, 216, 230, 0.5); /* Açık mavi saydam arka plan */
    padding: 5px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* Telaffuz Pratiği Kelime Vurgulama Stilleri (mevcut olanlar) */
.story-word.word-current {
    background-color: yellow; /* Şu anki kelimeyi vurgula */
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.story-word.word-correct {
    background-color: #d4edda; /* Açık yeşil */
    color: #155724; /* Koyu yeşil metin */
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.story-word.word-incorrect {
    background-color: #f8d7da; /* Açık kırmızı */
    color: #721c24; /* Koyu kırmızı metin */
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}
