/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --vh: 1vh;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    color: #333;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: none;
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
}

.container.active {
    display: block;
}

/* Header Stilleri */
.header {
    text-align: center;
    margin-bottom: 2rem;
    color: white;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.logo i {
    font-size: 3rem;
    color: #ffd700;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Ana Menü Kartı */
.menu-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.exam-info h2 {
    color: #4c63d2;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem;
    background: #f8f9ff;
    border-radius: 12px;
    border-left: 4px solid #4c63d2;
}

.info-item i {
    color: #4c63d2;
    font-size: 1.2rem;
}

.info-item span {
    font-weight: 600;
}

/* Bölümler */
.sections {
    margin: 2rem 0;
}

.sections h3 {
    color: #4c63d2;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.section-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem;
    background: linear-gradient(45deg, #f8f9ff, #e8edff);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.section-item:hover {
    transform: translateY(-2px);
}

.section-item i {
    color: #4c63d2;
    font-size: 1.3rem;
    width: 20px;
}

/* Butonlar */
.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(45deg, #4c63d2, #6366f1);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(76, 99, 210, 0.3);
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 2px solid #d1d5db;
}

.btn-secondary:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #4c63d2;
    border: 2px solid #4c63d2;
}

.btn-outline:hover {
    background: #4c63d2;
    color: white;
}

.btn-exit {
    background: #ef4444;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-exit:hover {
    background: #dc2626;
}

/* Modal Stilleri */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: #4c63d2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close {
    color: #9ca3af;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #4b5563;
}

.modal-body {
    padding: 2rem;
}

.tip-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9ff;
    border-radius: 12px;
}

.tip-item i {
    color: #4c63d2;
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.tip-item h4 {
    color: #374151;
    margin-bottom: 0.5rem;
}

.tip-item p {
    color: #6b7280;
    line-height: 1.5;
}

/* Sınav Sayfası Stilleri */
.exam-header {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.exam-progress {
    flex: 1;
    min-width: 300px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.current-section {
    font-weight: 600;
    color: #4c63d2;
}

.question-counter {
    color: #6b7280;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4c63d2, #6366f1);
    transition: width 0.3s ease;
    width: 3.125%; /* 1/32 = 3.125% */
}

.timer-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.timer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ef4444;
}

/* Soru Kartı */
.question-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

.section-badge {
    background: linear-gradient(45deg, #4c63d2, #6366f1);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.question-number {
    color: #6b7280;
    font-weight: 600;
}

.question-content {
    margin-bottom: 2rem;
}

.question-content h3 {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #374151;
}

.options-container {
    margin-bottom: 2rem;
}

.option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option:hover {
    border-color: #4c63d2;
    background: #f8f9ff;
}

.option.selected {
    border-color: #4c63d2;
    background: #f0f4ff;
}

.option-letter {
    background: #4c63d2;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.option.selected .option-letter {
    background: #1d4ed8;
}

.option-text {
    flex: 1;
    font-weight: 500;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

/* Sonuç Sayfası */
.result-header {
    text-align: center;
    color: white;
    margin-bottom: 2rem;
}

.result-icon {
    font-size: 4rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

.result-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.completion-time {
    font-size: 1.1rem;
    opacity: 0.9;
}

.result-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.result-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    color: #4c63d2;
}

.score-display {
    text-align: center;
    margin-bottom: 2rem;
}

.main-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.score-number {
    font-size: 4rem;
    font-weight: 700;
    color: #4c63d2;
}

.score-number::after {
    content: "%";
    font-size: 2rem;
}

.score-label {
    color: #6b7280;
    font-size: 1.1rem;
}

.net-score {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #374151;
    font-weight: 600;
}

.score-breakdown {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.score-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 12px;
    flex: 1;
}

.score-item.correct {
    background: #dcfce7;
    color: #166534;
}

.score-item.wrong {
    background: #fee2e2;
    color: #991b1b;
}

.score-item.empty {
    background: #f3f4f6;
    color: #374151;
}

.score-item i {
    font-size: 1.5rem;
}

.section-analysis {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9ff;
    border-radius: 12px;
}

.section-name {
    font-weight: 600;
    color: #374151;
}

.section-score {
    font-weight: 700;
    color: #4c63d2;
}

.feedback-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feedback-message {
    color: #374151;
}

.feedback-message i {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

.feedback-message h3 {
    color: #4c63d2;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0.75rem;
    }

    .logo h1 {
        font-size: 1.8rem;
    }

    .logo i {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .menu-card {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .info-item {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .section-list {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .section-item {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .action-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }

    .exam-header {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
        gap: 0.75rem;
    }

    .exam-progress {
        min-width: auto;
        width: 100%;
    }

    .timer-section {
        flex-direction: column;
        gap: 0.75rem;
    }

    .timer {
        font-size: 1.3rem;
    }

    .question-card {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .question-header {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .question-content h3 {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    .option {
        padding: 0.875rem;
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
    }

    .option-letter {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }

    .navigation-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .navigation-buttons .btn {
        order: 0;
    }

    .navigation-buttons .btn:last-child {
        order: -1;
    }

    .result-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .result-card {
        padding: 1.25rem;
    }

    .score-breakdown {
        flex-direction: column;
        gap: 0.75rem;
    }

    .score-number {
        font-size: 2.5rem;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
        border-radius: 16px;
    }

    .modal-header {
        padding: 1.25rem;
    }

    .modal-body {
        padding: 1.25rem;
    }

    .tip-item {
        padding: 0.875rem;
        margin-bottom: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .tip-item i {
        font-size: 1.3rem;
        margin-top: 0;
    }
}

/* Küçük mobil cihazlar (360px ve altı) */
@media (max-width: 480px) {
    .container {
        padding: 0.5rem;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .logo i {
        font-size: 2rem;
    }

    .menu-card {
        padding: 1rem;
        border-radius: 12px;
    }

    .exam-header {
        padding: 1rem;
    }

    .question-card {
        padding: 1rem;
        border-radius: 12px;
    }

    .question-content h3 {
        font-size: 1rem;
    }

    .option {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .option-letter {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .score-number {
        font-size: 2rem;
    }

    .result-icon {
        font-size: 3rem;
    }

    .result-header h1 {
        font-size: 2rem;
    }

    .modal-content {
        width: 98%;
        margin: 5% auto;
    }

    .strategy-alert {
        right: 10px;
        left: 10px;
        max-width: none;
        font-size: 0.9rem;
    }
}

/* Tablet manzara modu */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    .exam-header {
        flex-direction: row;
        justify-content: space-between;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .result-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Touch-friendly düzenlemeler */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 48px;
        padding: 1rem 1.5rem;
    }

    .option {
        min-height: 48px;
        padding: 1rem;
    }

    .close {
        font-size: 2.5rem;
        padding: 0.5rem;
    }

    .btn-exit {
        min-height: 40px;
        padding: 0.75rem 1rem;
    }
}

/* Yatay kaydırma önleme */
body {
    overflow-x: hidden;
}

.container {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Mobil Safari için viewport düzeltmeleri */
@supports (-webkit-touch-callout: none) {
    .container {
        min-height: -webkit-fill-available;
    }

    .modal {
        height: -webkit-fill-available;
    }
}

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

.question-card {
    animation: fadeIn 0.5s ease;
}

.option {
    animation: fadeIn 0.3s ease;
}

/* Grafik ve Tablo Stilleri */
.chart-container {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9ff;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
}

.chart-container canvas {
    max-height: 300px;
}

.table-container {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9ff;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.data-table th,
.data-table td {
    padding: 0.75rem;
    text-align: center;
    border: 1px solid #d1d5db;
}

.data-table th {
    background: #4c63d2;
    color: white;
    font-weight: 600;
}

.data-table tr:nth-child(even) {
    background: #f3f4f6;
}

.data-table tr:hover {
    background: #e5e7eb;
}

/* Görsel Pattern Stilleri */
.visual-container {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: #f8f9ff;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    text-align: center;
}

.visual-pattern {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    min-height: 80px;
}

.pattern-item {
    font-size: 2rem;
    padding: 0.5rem;
    transition: transform 0.2s ease;
}

.pattern-item:hover {
    transform: scale(1.1);
}

.pattern-letters {
    font-family: 'Courier New', monospace;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 0.5rem;
    color: #4c63d2;
}

.pattern-shapes {
    font-size: 2.5rem;
}

.pattern-numbers {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #374151;
}

/* Grafik responsive */
@media (max-width: 768px) {
    .chart-container canvas {
        max-height: 250px;
    }
    
    .pattern-item {
        font-size: 1.5rem;
    }
    
    .pattern-letters {
        font-size: 1.5rem;
        letter-spacing: 0.3rem;
    }
    
    .pattern-shapes {
        font-size: 2rem;
    }
}

/* Strateji Uyarıları */
.strategy-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    animation: slideInRight 0.3s ease;
    max-width: 300px;
}

.strategy-alert.warning {
    background: linear-gradient(45deg, #f59e0b, #d97706);
}

.strategy-alert.critical {
    background: linear-gradient(45deg, #ef4444, #dc2626);
}

.strategy-alert.urgent {
    background: linear-gradient(45deg, #7c2d12, #991b1b);
    animation: pulse 0.5s infinite;
}

.strategy-alert button {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 12px;
    margin-left: auto;
}

.strategy-alert button:hover {
    background: rgba(255,255,255,0.3);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* Yazdırma Stilleri */
@media print {
    body {
        background: white;
    }
    
    .btn, .timer, .navigation-buttons {
        display: none;
    }
    
    .container {
        box-shadow: none;
    }
}

/* Yüksek Kontrast Modu */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        border: 2px solid #000;
    }
    
    .option {
        border-width: 3px;
    }
}

/* Hareket Azaltma */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mantık Açıklama Stilleri */
.mantik-container {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 0, 0, 0.1);
    border-left: 4px solid #ff4444;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.mantik-aciklama {
    color: #000;
    font-size: 14px;
    line-height: 1.5;
}

.mantik-aciklama strong {
    color: #ff4444;
    font-weight: 600;
}

/* Doğru Cevaplar Modal Stilleri */
.answers-modal {
    max-width: 900px;
    max-height: 80vh;
    overflow-y: auto;
    width: 95vw;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    background: #f8fafc;
}

.modal-header h3 {
    margin: 0;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.2s;
}

.close-btn:hover {
    background: #e5e7eb;
    color: #374151;
}

.answers-content {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.section-answers {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
}

.section-answers h4 {
    margin-bottom: 15px;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 10px;
}

.answers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.answer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    transition: all 0.2s;
}

.answer-item.correct {
    border-color: #10b981;
    background: #f0fdf4;
}

.answer-item.wrong {
    border-color: #ef4444;
    background: #fef2f2;
}

.answer-item.empty {
    border-color: #9ca3af;
    background: #f9fafb;
}

.question-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 50px;
}

.question-number {
    background: #374151;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.answer-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
}

.correct-answer {
    color: #059669;
    font-weight: 500;
}

.given-answer {
    color: #6b7280;
}

.answer-item.wrong .given-answer {
    color: #dc2626;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #e5e7eb;
    background: #f8fafc;
    text-align: center;
}

/* Mobil optimizasyon */
@media (max-width: 768px) {
    .mantik-container {
        margin-top: 15px;
        padding: 12px;
        font-size: 13px;
    }
    
    .answers-modal {
        max-height: 90vh;
        width: 98vw;
    }
    
    .answers-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .answer-item {
        padding: 10px;
        gap: 10px;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    
    .answers-content {
        padding: 15px;
    }
}

/* Yanlış Sorular Bölümü */
.wrong-answers-section {
    margin: 2rem 0;
    animation: slideInUp 0.6s ease;
}

.wrong-questions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.wrong-question-item {
    border: 2px solid #fecaca;
    border-radius: 12px;
    padding: 1.5rem;
    background: #fef2f2;
    transition: all 0.3s ease;
}

.wrong-question-item:hover {
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.15);
}

.wrong-question-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #fecaca;
}

.wrong-question-number {
    background: #dc2626;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.wrong-question-section {
    background: #991b1b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
}

.wrong-question-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.wrong-answer-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.answer-box {
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.your-answer {
    background: #fee2e2;
    border: 1px solid #fecaca;
}

.correct-answer-box {
    background: #dcfce7;
    border: 1px solid #bbf7d0;
}

.answer-label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.your-answer .answer-label {
    color: #991b1b;
}

.correct-answer-box .answer-label {
    color: #166534;
}

.answer-value {
    font-size: 1.125rem;
    font-weight: 700;
}

.your-answer .answer-value {
    color: #dc2626;
}

.correct-answer-box .answer-value {
    color: #059669;
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

@media (max-width: 768px) {
    .wrong-answer-comparison {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .wrong-question-item {
        padding: 1rem;
    }
    
    .wrong-question-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .wrong-question-text {
        font-size: 1rem;
    }
}

/* Hızlı Çözüm Klavuzu Stilleri - Tablo Formatı */
/* Klavuz Modal Özel Düzenlemeler */
.klavuz-modal {
    align-items: center !important;
    justify-content: center !important;
    padding: 8px !important;
}

.klavuz-modal.show {
    display: flex !important;
}

.klavuz-modal .modal-content {
    max-width: 98vw !important;
    width: 99vw !important;
    height: 90vh !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 12px !important;
}

.klavuz-modal .modal-header {
    flex-shrink: 0 !important;
    padding: 10px 12px !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.klavuz-body {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 8px !important;
    scrollbar-width: thin !important;
    scrollbar-color: #cbd5e1 #f1f5f9 !important;
    font-size: 0.95rem !important;
}

.klavuz-body::-webkit-scrollbar {
    width: 8px !important;
}

.klavuz-body::-webkit-scrollbar-track {
    background: #f1f5f9 !important;
    border-radius: 5px !important;
}

.klavuz-body::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 5px !important;
}

.klavuz-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8 !important;
}

.klavuz-table td {
    padding: 8px 8px !important;
    border-bottom: 1px solid #f3f4f6 !important;
    vertical-align: top !important;
    line-height: 1.4 !important;
    word-wrap: break-word !important;
    font-size: 0.92rem !important;
}

.klavuz-section {
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.klavuz-header {
    background: linear-gradient(135deg, #4c63d2, #6366f1);
    color: white;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.klavuz-header h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.klavuz-header i {
    font-size: 1.05rem;
}

.klavuz-table-container {
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.klavuz-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 0.9rem;
    min-width: 320px;
    max-width: 100vw;
}

.klavuz-table thead {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.klavuz-table th {
    padding: 0.5rem 0.7rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.klavuz-table td {
    max-width: 180px;
    hyphens: auto;
}

.klavuz-table tbody tr:hover {
    background: #f8f9ff;
    transform: scale(1.01);
    transition: all 0.2s ease;
}

.klavuz-table tbody tr:nth-child(even) {
    background: #fafbfc;
}

.klavuz-table tbody tr:nth-child(even):hover {
    background: #f0f4ff;
}

.klavuz-table strong {
    color: #374151;
    font-weight: 600;
}

.dogru {
    color: #059669;
    font-weight: 600;
}

.yanlis {
    color: #dc2626;
    font-weight: 600;
}

.strateji-section .klavuz-header {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Tablo içi formüller için özel stil */
.klavuz-table code {
    background: #f1f5f9;
    padding: 0.18rem 0.3rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #475569;
}

@media (max-width: 768px) {
    .klavuz-modal .modal-content {
        max-width: 99vw;
        max-height: 95vh;
        margin: 0.5rem auto;
        border-radius: 8px !important;
    }
    .klavuz-body {
        padding: 2px !important;
        font-size: 0.88rem !important;
    }
    .klavuz-table {
        font-size: 0.8rem;
        min-width: 280px;
    }
    .klavuz-table th,
    .klavuz-table td {
        padding: 0.4rem 0.3rem;
        word-wrap: break-word;
        hyphens: auto;
        font-size: 0.8rem;
    }
    .klavuz-header {
        padding: 0.4rem 0.5rem;
        flex-direction: row;
        text-align: left;
        gap: 0.3rem;
    }
    .klavuz-header h3 {
        font-size: 0.95rem;
    }
    .klavuz-section {
        margin-bottom: 0.7rem;
    }
}

/* Tablo satırları arası geçiş efekti */
.klavuz-table tbody tr {
    transition: all 0.2s ease;
}

/* Başlık hücreleri için gradient */
.klavuz-table th:first-child {
    border-left: 4px solid #4c63d2;
}

.strateji-section .klavuz-table th:first-child {
    border-left: 4px solid #f59e0b;
}
