/* ==========================================================================
   Dr. Ali Öktem - Psikolojik Öz-Değerlendirme & Tarama Testleri Merkezi Stilleri
   Dosya: assets/css/psychological_tests.css
   ========================================================================== */

.tests-hero-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    border-radius: 20px;
    padding: 40px 35px;
    color: #ffffff;
    margin-bottom: 35px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(217, 119, 6, 0.35);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.tests-hero-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.tests-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(217, 119, 6, 0.2);
    border: 1px solid rgba(217, 119, 6, 0.5);
    color: #fbbf24;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tests-hero-title {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.tests-hero-desc {
    font-size: 15.5px;
    color: #cbd5e1;
    line-height: 1.7;
    max-width: 820px;
    margin: 0 0 20px 0;
}

.tests-hero-features {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: #94a3b8;
}

.tests-hero-features span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tests-hero-features i {
    color: #10b981;
}

/* --------------------------------------------------------------------------
   1. Test Seçim Kartları Grid (Test Hub)
   -------------------------------------------------------------------------- */
.tests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.test-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 28px 24px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.test-card:hover {
    transform: translateY(-5px);
    border-color: #d97706;
    box-shadow: 0 15px 30px rgba(217, 119, 6, 0.12);
}

.test-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.test-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.test-icon-anxiety { background: rgba(2, 132, 199, 0.12); color: #0284c7; }
.test-icon-depression { background: rgba(99, 102, 241, 0.12); color: #6366f1; }
.test-icon-bipolar { background: rgba(217, 119, 6, 0.12); color: #d97706; }
.test-icon-stress { background: rgba(239, 68, 68, 0.12); color: #ef4444; }
.test-icon-panic { background: rgba(168, 85, 247, 0.12); color: #a855f7; }

.test-card-badge {
    background: #f1f5f9;
    color: #475569;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.test-card-title {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
    line-height: 1.35;
}

.test-card-standard {
    font-size: 12px;
    font-weight: 700;
    color: #0284c7;
    margin-bottom: 10px;
    display: block;
}

.test-card-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.test-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
    margin-bottom: 18px;
    font-size: 13px;
    color: #64748b;
}

.test-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-start-test {
    width: 100%;
    background: #0f172a;
    color: #ffffff !important;
    border: none;
    padding: 13px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none !important;
}

.btn-start-test:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.35);
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   2. İnteraktif Soru Sihirbazı (Test Wizard)
   -------------------------------------------------------------------------- */
.test-wizard-container {
    display: none;
    max-width: 820px;
    margin: 0 auto 60px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.test-wizard-header {
    background: #0f172a;
    padding: 24px 28px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.test-wizard-back-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #e2e8f0;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.test-wizard-back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.test-wizard-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}

.test-progress-bar-wrap {
    background: #f1f5f9;
    height: 8px;
    width: 100%;
    position: relative;
}

.test-progress-bar-fill {
    background: linear-gradient(90deg, #d97706, #10b981);
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
}

.test-wizard-body {
    padding: 35px 30px;
}

.test-question-counter {
    font-size: 13px;
    font-weight: 700;
    color: #d97706;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.test-question-text {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.45;
    margin: 0 0 24px 0;
}

.test-options-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.test-option-item {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.test-option-item:hover {
    border-color: #cbd5e1;
    background: #ffffff;
    transform: translateX(4px);
}

.test-option-item.is-selected {
    border-color: #0284c7;
    background: #f0f9ff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);
}

.test-option-label {
    font-size: 15.5px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    cursor: pointer;
}

.test-option-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    font-size: 11px;
    transition: all 0.2s ease;
}

.test-option-item.is-selected .test-option-check {
    border-color: #0284c7;
    background: #0284c7;
    color: #ffffff;
}

.test-wizard-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 24px;
}

.btn-wizard-nav {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-wizard-prev {
    background: #f1f5f9;
    color: #475569;
}

.btn-wizard-prev:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.btn-wizard-next {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.btn-wizard-next:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   3. Sonuç ve Klinik Değerlendirme Kartı (Result Hub)
   -------------------------------------------------------------------------- */
.test-result-container {
    display: none;
    max-width: 820px;
    margin: 0 auto 60px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.test-result-header {
    background: #0f172a;
    padding: 30px 24px;
    text-align: center;
    color: #ffffff;
    border-bottom: 4px solid #d97706;
}

.test-result-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 6px 0;
    color: #ffffff;
}

.test-result-subtitle {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
}

.test-result-body {
    padding: 35px 30px;
}

/* Skor Göstergesi */
.score-badge-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin-bottom: 30px;
}

.score-number-highlight {
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 6px;
}

.score-level-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 12px;
}

.level-minimal { background: #dcfce7; color: #166534; }
.level-mild { background: #fef9c3; color: #854d0e; }
.level-moderate { background: #ffedd5; color: #9a3412; }
.level-severe { background: #fee2e2; color: #991b1b; }

.score-desc-text {
    font-size: 15px;
    color: #334155;
    line-height: 1.65;
    margin: 0;
    max-width: 640px;
    margin: 0 auto;
}

/* Klinik Yönlendirme & 10 Dk Vurgu Kutusu */
.consultation-cta-card {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    border-radius: 16px;
    padding: 28px 24px;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.25);
}

.consultation-cta-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: #ffffff;
}

.consultation-cta-card p {
    font-size: 14.5px;
    color: #e0f2fe;
    line-height: 1.6;
    margin: 0 0 20px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-book-free-session {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #0284c7 !important;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
}

.btn-book-free-session:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Paylaşım ve PDF Butonları */
.result-action-buttons-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 25px;
}

.btn-result-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none !important;
    border: none;
    transition: all 0.2s ease;
}

.btn-result-wa {
    background: #25d366;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.btn-result-wa:hover {
    background: #20ba5a;
    transform: translateY(-1px);
}

.btn-result-pdf {
    background: #f1f5f9;
    color: #1e293b !important;
    border: 1px solid #cbd5e1;
}

.btn-result-pdf:hover {
    background: #e2e8f0;
    color: #0f172a !important;
}

.btn-retake-test {
    background: transparent;
    color: #64748b;
    border: none;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    display: block;
    margin: 20px auto 0;
    text-decoration: underline;
}

.btn-retake-test:hover {
    color: #0f172a;
}

.disclaimer-box {
    background: #f8fafc;
    border-left: 4px solid #94a3b8;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.6;
    margin-top: 25px;
}

@media (max-width: 767px) {
    .tests-hero-banner {
        padding: 25px 20px;
    }
    .tests-hero-title {
        font-size: 22px;
    }
    .tests-grid {
        grid-template-columns: 1fr;
    }
    .test-wizard-body, .test-result-body {
        padding: 24px 18px;
    }
    .result-action-buttons-group {
        grid-template-columns: 1fr;
    }
    .test-question-text {
        font-size: 17px;
    }
}
