/*--------------------------------------------------------------
# Single Post Quiz CSS - Revenue Pro Style
--------------------------------------------------------------*/

/* GLOBAL ARKA PLAN VE LAYOUT - TÜM SAYFALARDA AYNI */
html,
body {
    background-color: #eceff1 !important;
    min-height: 100vh;
}

/* Site Content - Header ile arasındaki boşluk ve arka plan */
.site-content {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
    background-color: #eceff1 !important;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box;
}

/* Primary content area - tam genişlik */
#primary {
    width: 100% !important;
    float: none !important;
    margin: 0 auto !important;
    max-width: none !important;
    background-color: transparent;
}

/* Site main - içerik alanı */
.site-main {
    background-color: transparent;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* Sidebar'ı gizle - tüm quiz sayfalarında */
.sidebar,
#secondary {
    display: none !important;
}

/* Container - site arka planına uygun, şeffaf */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    background-color: transparent;
    box-sizing: border-box;
}

/* SAYFA BAŞLIKLARI - TÜM SAYFALARDA AYNI */
h1.text-center {
    color: #2c3644;
    font-size: 2.5rem;
    font-weight: bold;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.2;
    position: relative;
}

/* SES BUTONLARI */
.audio-btn {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 10px;
    padding: 5px 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

.audio-btn:hover {
    background-color: rgba(43, 170, 225, 0.1);
    transform: scale(1.1);
}

.content-audio {
    display: block;
    margin: 15px auto;
    padding: 10px 20px;
    background: rgba(43, 170, 225, 0.1);
    border-radius: 25px;
    font-size: 14px;
    color: #2baae1;
    font-weight: 600;
}

/* SORU SES BUTONLARI */
.question-audio-container {
    text-align: center;
    margin: 15px 0 20px 0;
}

.question-audio-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
}

.question-audio-btn:hover {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

h1.text-center.mb-4 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

/* KATEGORI SEÇİM FORMU - TÜM SAYFALARDA AYNI */
.mb-5 {
    margin-bottom: 3rem;
}

.input-group {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-select,
.input-group select {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-right: none;
    border-radius: 0;
    font-size: 16px;
    outline: none;
    background-color: #fff;
    color: #333;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='%23666' d='M2 0L0 2h4zm0 5L0 3h4z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 35px;
}

.form-select:focus,
.input-group select:focus {
    border-color: #2baae1;
    box-shadow: 0 0 0 0.2rem rgba(43, 170, 225, 0.25);
}

/* BUTONLAR - TÜM SAYFALARDA AYNI RENK VE EFEKT */
.btn,
.btn-primary,
button[type="submit"],
input[type="submit"] {
    background-color: #2baae1;
    border: 2px solid #2baae1;
    color: #fff;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    line-height: 1.2;
    min-width: 120px;
}

.btn:hover,
.btn-primary:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    background-color: #ff6644;
    border-color: #ff6644;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 102, 68, 0.3);
}

.btn:focus,
.btn-primary:focus,
button[type="submit"]:focus,
input[type="submit"]:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(43, 170, 225, 0.25);
}

/* Büyük butonlar */
.btn-lg {
    padding: 15px 30px;
    font-size: 16px;
    min-width: 150px;
}

/* KART TASARIMLARI - TÜM SAYFALARDA AYNI */
.card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.card.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card.shadow-sm:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card .p-4 {
    padding: 2rem;
}

/* KATEGORI SEO BÖLÜMÜ - YEŞIL GRADIENT - EFEKTSIZ */
.category-seo {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 3rem;
    transition: none !important;
}

/* Hover efektini tamamen kaldır */
.category-seo:hover {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    color: white !important;
    transform: none !important;
    box-shadow: none !important;
    transition: none !important;
}

.category-seo h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.category-seo h3 {
    color: white;
    font-size: 1.4rem;
    font-weight: bold;
    margin: 1.5rem 0 1rem 0;
    line-height: 1.3;
}

.category-seo p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 16px;
}

.category-seo strong {
    color: white;
    font-weight: bold;
}

.category-seo .btn {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    margin-top: 1rem;
}

.category-seo .btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* QUIZ SONUÇLARI - TÜM SAYFALARDA AYNI */
.quiz-results {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    z-index: 1000;
}

.quiz-results h2 {
    color: #2c3644;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.score-display h3 {
    color: #28a745;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.progress {
    background-color: #e9ecef;
    border-radius: 10px;
    height: 20px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-bar {
    background: linear-gradient(90deg, #28a745, #20c997);
    height: 100%;
    transition: width 0.6s ease;
    border-radius: 10px;
}

.score-percentage {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3644;
    margin-bottom: 1.5rem;
}

/* Alert mesajları */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-info {
    background-color: #cce7ff;
    border: 1px solid #b3d9ff;
    color: #0c5460;
}

.alert-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* QUIZ CONTAINER - YEŞIL TEMA */
.quiz-container {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 2rem;
}

.quiz-question {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.quiz-question:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.quiz-question h3 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.quiz-options {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quiz-options .form-check {
    margin-bottom: 10px;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    background-color: #fff;
}

.quiz-options .form-check:hover {
    border-color: #28a745;
    background-color: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.1);
}

.quiz-options .form-check-input {
    margin-right: 12px;
    cursor: pointer;
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 2;
    accent-color: #28a745;
    transform: scale(1.1);
}

.quiz-options .form-check-input:focus {
    outline: 2px solid #28a745;
    outline-offset: 2px;
}

.quiz-options .form-check-input:checked + .form-check-label {
    color: #28a745;
    font-weight: 600;
}

.quiz-options .form-check:has(.form-check-input:checked) {
    border-color: #28a745;
    background-color: #f0fff4;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.15);
}

.quiz-options .form-check-label {
    cursor: pointer;
    font-weight: 500;
    color: #495057;
    margin: 0;
    flex: 1;
    user-select: none;
    padding: 4px 0;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.quiz-options .form-check-label:hover {
    color: #28a745;
}

/* Radio button'ların görünümünü iyileştir */
.quiz-options .form-check-input[type="radio"] {
    border-radius: 50%;
    border: 2px solid #dee2e6;
    background-color: #fff;
}

.quiz-options .form-check-input[type="radio"]:checked {
    background-color: #28a745;
    border-color: #28a745;
}

.quiz-options .form-check-input[type="radio"]:hover {
    border-color: #28a745;
}

/* Entry Content Styles */
.entry-content {
    line-height: 1.6;
    word-wrap: break-word;
    color: rgba(255, 255, 255, 0.9);
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: white;
    font-weight: 600;
    line-height: 1.2;
    clear: both;
}

.entry-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.entry-content ul,
.entry-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content blockquote {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid rgba(255, 255, 255, 0.3);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

.entry-content a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

.entry-content a:hover,
.entry-content a:focus {
    color: white;
}

/* Entry Thumbnail */
.entry-thumbnail {
    text-align: center;
    margin-bottom: 1.5rem;
}

.entry-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* RESPONSIVE TASARIM - TÜM SAYFALARDA AYNI */
@media (max-width: 768px) {
    .site-content {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    .container {
        padding: 20px;
        margin: 0 10px;
    }
    
    h1.text-center {
        font-size: 2rem;
    }
    
    .category-seo h2 {
        font-size: 1.5rem;
    }
    
    .category-seo h3 {
        font-size: 1.2rem;
    }
    
    .input-group {
        flex-direction: column;
        border-radius: 8px;
    }
    
    .form-select,
    .input-group select {
        border-radius: 8px;
        border: 2px solid #e9ecef;
        margin-bottom: 0.5rem;
    }
    
    .input-group .btn {
        border-radius: 8px;
        margin-top: 0;
    }
    
    .quiz-question h3 {
        font-size: 16px;
        padding: 12px 15px;
    }
    
    /* Mobil görünümde seçenekleri yatay yap - TÜM QUIZ SAYFALARI İÇİN */
    .quiz-options,
    .quiz-options.list-unstyled,
    ul.quiz-options {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        justify-content: flex-start !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .quiz-options .form-check,
    .quiz-options li.form-check,
    ul.quiz-options li.form-check {
        display: flex !important;
        align-items: center !important;
        flex-direction: row !important;
        padding: 8px 12px !important;
        margin-bottom: 0 !important;
        margin-right: 8px !important;
        flex: 0 0 auto !important;
        min-width: auto !important;
        border: 2px solid #e9ecef !important;
        border-radius: 20px !important;
        background: #fff !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
        transition: all 0.2s ease !important;
    }
    
    .quiz-options .form-check:hover,
    .quiz-options li.form-check:hover,
    ul.quiz-options li.form-check:hover {
        border-color: #28a745 !important;
        background-color: #f8f9fa !important;
        transform: translateY(-1px) !important;
    }
    
    .quiz-options .form-check-input,
    .quiz-options li.form-check input[type="radio"],
    ul.quiz-options li.form-check input[type="radio"] {
        margin-right: 8px !important;
        margin-left: 0 !important;
        margin-top: 0 !important;
        flex-shrink: 0 !important;
        width: 16px !important;
        height: 16px !important;
        position: relative !important;
    }
    
    .quiz-options .form-check-label,
    .quiz-options li.form-check label,
    ul.quiz-options li.form-check label {
        margin: 0 !important;
        padding-left: 0 !important;
        white-space: nowrap !important;
        font-size: 14px !important;
        line-height: 1.2 !important;
        font-weight: 500 !important;
        color: #333 !important;
        cursor: pointer !important;
    }
    
    /* Seçili durum */
    .quiz-options .form-check-input:checked + .form-check-label,
    .quiz-options li.form-check input[type="radio"]:checked + label,
    ul.quiz-options li.form-check input[type="radio"]:checked + label {
        color: #28a745 !important;
        font-weight: 600 !important;
    }
    
    .quiz-options .form-check:has(input:checked),
    .quiz-options li.form-check:has(input:checked),
    ul.quiz-options li.form-check:has(input:checked) {
        border-color: #28a745 !important;
        background-color: rgba(40, 167, 69, 0.1) !important;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 15px;
        margin: 0 5px;
    }
    
    h1.text-center {
        font-size: 1.8rem;
    }
    
    .category-seo {
        padding: 1.5rem;
    }
    
    .quiz-container {
        padding: 1.5rem;
    }
    
    .btn,
    .btn-primary {
        padding: 10px 20px;
        font-size: 13px;
        min-width: 100px;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 14px;
        min-width: 120px;
    }
}

/* UTILITY CLASSES - TÜM SAYFALARDA KULLANILABILIR */
.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.p-4 {
    padding: 1.5rem;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* ANIMASYONLAR - KATEGORI SEO EFEKTI KALDIRILDI */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quiz-container,
.quiz-results {
    animation: fadeInUp 0.6s ease-out;
}

/* Kategori SEO alanı için animasyon kaldırıldı */
.category-seo {
    animation: none !important;
    transform: none !important;
    transition: none !important;
}

/* FORM ELEMENTS */
input[type="radio"] {
    accent-color: #28a745;
}

input[type="radio"]:checked {
    background-color: #28a745;
    border-color: #28a745;
}

/* LOADING STATES */
.btn:disabled,
.btn-primary:disabled {
    background-color: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.65;
}

.btn:disabled:hover,
.btn-primary:disabled:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    transform: none;
    box-shadow: none;
}