/*
Theme Name: QuizTest Theme
Theme URI: https://example.com/quiztest-theme
Author: Your Name
Author URI: https://example.com
Description: Basit bir quiz sitesi için WordPress teması. Tailwind ve Lucide kullanılarak tasarlanmıştır.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: quiztest-theme
*/

/* Temaya özgü stiller */

body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f2f5;
}

.main-bg {
    background-color: #4f46e5; /* Indigo 600 */
    background: linear-gradient(145deg, #4338ca, #6366f1);
}

.card {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.btn {
    border-radius: 0.75rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: #4f46e5;
    color: white;
}

.btn-primary:hover {
    background-color: #4338ca;
}

.btn-light {
    background-color: white;
    color: #4f46e5;
    border: 1px solid #e0e7ff;
}

.btn-light:hover {
    background-color: #eef2ff;
}

.option-btn {
    border: 2px solid #e5e7eb;
    text-align: left;
    justify-content: flex-start;
}

.option-btn.correct {
    background-color: #dcfce7;
    border-color: #22c55e;
    color: #166534;
}

.option-btn.wrong {
    background-color: #fee2e2;
    border-color: #ef4444;
    color: #991b1b;
}

/* Tekil yazı içerik stili */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #ffffff;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.entry-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.entry-content a {
    color: #6366f1;
    text-decoration: underline;
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content blockquote {
    border-left: 4px solid #6366f1;
    padding-left: 1rem;
    color: #cbd5e1;
    font-style: italic;
    margin-bottom: 1rem;
}

/* BilgiTesti — Global Leaderboard (ana sayfa) */
#home-leaderboard .ays-leaderboard-main-container{
  background:#0b1220 !important;   /* slate-900 */
  border:1px solid #334155 !important; /* slate-700 */
  border-radius:16px !important;
  padding:16px !important;
}

/* Tablo temel tipografi */
#home-leaderboard table{
  width:100% !important;
  color:#e2e8f0 !important; /* slate-200 */
  border-collapse:separate !important;
  border-spacing:0 !important;
}

/* Başlık satırı */
#home-leaderboard thead th{
  background:transparent !important;
  color:#e2e8f0 !important;
  border:0 !important;
  padding:12px 16px !important;
  font-weight:600 !important;
}
#home-leaderboard thead th:first-child{border-top-left-radius:12px !important;}
#home-leaderboard thead th:last-child{border-top-right-radius:12px !important;}

/* Gövde satırları */
#home-leaderboard tbody td{
  padding:12px 16px !important;
  border-top:1px solid #334155 !important;
  color:#e2e8f0 !important;
}
#home-leaderboard tbody tr{ background:transparent !important; }
#home-leaderboard tbody tr:nth-child(odd){ background:#0f172a !important; }   /* slate-900 */
#home-leaderboard tbody tr:nth-child(even){ background:#111827 !important; }  /* gray-900 */

/* DataTables üst bar (arama/length) */
#home-leaderboard .dataTables_wrapper .dataTables_filter label,
#home-leaderboard .dataTables_wrapper .dataTables_length label{
  color:#cbd5e1 !important; /* slate-300 */
}
#home-leaderboard .dataTables_wrapper .dataTables_filter input,
#home-leaderboard .dataTables_wrapper .dataTables_length select{
  background:#0f172a !important;
  border:1px solid #334155 !important;
  color:#e2e8f0 !important;
  border-radius:8px !important;
  padding:6px 10px !important;
}

/* Alt bilgi */
#home-leaderboard .dataTables_wrapper .dataTables_info{
  color:#94a3b8 !important; /* slate-400 */
}

/* Sayfalama butonları */
#home-leaderboard .dataTables_wrapper .dataTables_paginate .paginate_button{
  background:#1f2937 !important;  /* slate-800 */
  color:#e2e8f0 !important;
  border:1px solid #334155 !important;
  border-radius:8px !important;
  box-shadow:none !important;
}
#home-leaderboard .dataTables_wrapper .dataTables_paginate .paginate_button:hover{
  background:#374151 !important;  /* gray-700 */
  color:#fff !important;
}
#home-leaderboard .dataTables_wrapper .dataTables_paginate .paginate_button.current{
  background:#4f46e5 !important;  /* indigo-600 */
  border-color:#4f46e5 !important;
  color:#fff !important;
}

/* Eklentinin açık renk zebra şeritlerini tamamen bastır */
#home-leaderboard table.dataTable.display tbody tr.odd,
#home-leaderboard table.dataTable.display tbody tr.even{
  background:transparent !important;
}
