/* TEST MODÜLÜ STİLLERİ - İZOLE MODÜL YAPI
 * Bu dosya test modülü için izole CSS içerir.
 * Tüm selector'lar .module-test scope'u içinde çalışır.
 * Preview iframe içinde tamamen izole - global CSS'ler preview'a girmez.
 * !important kullanılmaz - CSS specificity ile çözüldü, modül scope ile izole
 */

/* MODULE SCOPE WRAPPER - Tüm stiller .module-test içinde çalışır */
.module-test {
    /* Module container - display: contents kullan (layout'a etki etmesin) */
    display: contents;
}

/* --- 2. TEST ARACI STİLLERİ (body.tool-test.module-test) --- */
/* Referans tasarımdan gelen yeni stiller */

body.tool-test.module-test {
    /* === PRIMARY COLORS - Gold Theme === */
    --gold-light: #FFD700;
    --gold-medium: #DAA520;
    --gold-dark: #B8860B;
    --gold-dark-rgb: 184, 134, 11;
    --gold-text-light: #FFF8DC;
    --gold-text-dark: #5D4907;
    --ana-vurgu: var(--gold-medium);

    /* === NEUTRAL COLORS === */
    --beyaz: #ffffff;
    --siyah: #2c3e50;
    --acik-gri: #f8f9fa;
    --gri: #95a5a6;
    --koyu-gri: #6c757d;
    --gri-disabled: #f5f5f5;

    /* === SEMANTIC COLORS === */
    --kirmizi: #e74c3c;
    --yesil: #4caf50;
    --yesil-light: rgba(76, 175, 80, 0.1);
    --yesil-border: rgba(76, 175, 80, 0.3);

    /* === WHATSAPP COLORS === */
    --whatsapp: #25D366;
    --whatsapp-hover: #128C7E;

    /* === OVERLAY COLORS === */
    --overlay-dark: rgba(0, 0, 0, 0.8);
    --overlay-darker: rgba(0, 0, 0, 0.75);

    /* === BACKGROUND COLORS === */
    --popup-bg: #FFFDF5;
    --input-bg: var(--beyaz);
    --input-disabled-bg: var(--gri-disabled);

    /* === HEADER/FOOTER === */
    --header-bg-start: var(--gold-medium);
    --header-bg-end: var(--gold-dark);
    --header-text: var(--gold-text-light);
    --footer-bg-start: var(--gold-medium);
    --footer-bg-end: var(--gold-dark);
    --footer-text: var(--gold-text-light);

    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--siyah);
    background-color: var(--acik-gri);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.tool-test.module-test .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--beyaz);
    flex-grow: 1;
    box-sizing: border-box;
}

/* Responsive container padding */
@media (max-width: 414px) {
    body.tool-test.module-test .container {
        padding: 15px;
    }
}

@media (max-width: 360px) {
    body.tool-test.module-test .container {
        padding: 12px;
    }
}

@media (max-width: 320px) {
    body.tool-test.module-test .container {
        padding: 10px;
    }
}

body.tool-test.module-test header {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--header-bg-start), var(--header-bg-end));
    color: var(--header-text);
    border-radius: 10px;
    box-shadow: 0 4px 15px #0000001a;
    box-sizing: border-box;
}

/* Responsive header */
@media (max-width: 414px) {
    body.tool-test.module-test header {
        padding: 25px 15px;
        margin-bottom: 20px;
    }
}

@media (max-width: 360px) {
    body.tool-test.module-test header {
        padding: 20px 12px;
        margin-bottom: 18px;
    }
}

@media (max-width: 320px) {
    body.tool-test.module-test header {
        padding: 18px 10px;
        margin-bottom: 15px;
    }
}

body.tool-test.module-test h1 {
    font-size: clamp(1.7rem, 4vw, 2.0rem);
    margin-bottom: 10px;
    font-weight: 600;
}

body.tool-test.module-test header p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    opacity: 0.9;
}

body.tool-test.module-test .intro {
    text-align: center;
    margin-bottom: 30px;
    padding: 0 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

body.tool-test.module-test .intro p {
    margin-bottom: 15px;
    line-height: 1.8;
}

body.tool-test.module-test .intro strong {
    font-weight: 600;
    color: var(--ana-vurgu);
}

/* ==================== TEST FORM - TEMİZ VE PROFESYONEL ==================== */

body.tool-test.module-test .user-info-form {
    background-color: var(--beyaz);
    padding: clamp(20px, 4vw, 30px);
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
}

/* Responsive form container */
@media (max-width: 768px) {
    body.tool-test.module-test .user-info-form {
        padding: clamp(16px, 3vw, 24px);
        margin-bottom: 16px;
    }
}

/* iPhone XR (414px) ve benzeri */
@media (max-width: 414px) {
    body.tool-test.module-test .user-info-form {
        padding: clamp(14px, 3vw, 20px);
        border-radius: 10px;
    }
}

/* Galaxy S3 (360px) ve benzeri */
@media (max-width: 360px) {
    body.tool-test.module-test .user-info-form {
        padding: 14px;
        border-radius: 8px;
    }
}

/* Çok küçük ekranlar (320px ve altı) */
@media (max-width: 320px) {
    body.tool-test.module-test .user-info-form {
        padding: 12px;
        border-radius: 8px;
    }
}

body.tool-test.module-test .user-info-form h2 {
    color: var(--ana-vurgu);
    margin: 0 0 12px 0;
    font-size: clamp(1.3rem, 3vw, 1.5rem);
    text-align: center;
    font-weight: 600;
}

body.tool-test.module-test #personalInfoText {
    margin: 0 0 24px 0;
    text-align: center;
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.5;
}

/* Form Grid - Responsive ve Temiz - Kusursuz */
/* main.css override - daha spesifik selector - TÜM ÇAKIŞMALARI ÖNLE */
body.tool-test.module-test .user-info-form .form-grid,
body.tool-test.module-test #userInfoForm .form-grid,
body.tool-test.module-test .form-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    align-items: start !important;
    max-width: 100% !important;
}

/* Tam genişlik alanlar - Grid column span */
body.tool-test.module-test .form-group.form-group-full-width {
    grid-column: 1 / -1 !important;
    width: 100% !important;
}

/* Tablet ve küçük ekranlar için optimize */
@media (max-width: 768px) {
    body.tool-test.module-test .form-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
}

/* Mobil için optimize */
@media (max-width: 640px) {
    body.tool-test.module-test .form-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
}

/* Çok küçük ekranlar için */
@media (max-width: 480px) {
    body.tool-test.module-test .form-grid {
        gap: 16px !important;
    }
}

/* iPhone XR (414px) ve benzeri cihazlar için */
@media (max-width: 414px) {
    body.tool-test.module-test .form-grid {
        gap: 16px !important;
    }
}

/* Galaxy S3 (360px) ve benzeri küçük telefonlar için */
@media (max-width: 360px) {
    body.tool-test.module-test .form-grid {
        gap: 14px !important;
    }
}

/* Çok küçük ekranlar için (320px ve altı) */
@media (max-width: 320px) {
    body.tool-test.module-test .form-grid {
        gap: 12px !important;
    }
}

/* Form Group - Temiz Yapı - Kusursuz */
body.tool-test.module-test .form-group {
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 0 !important;
    align-self: start !important;
}

/* Label - Erişilebilir ve Temiz - Kusursuz - Input'a Ortalı */
body.tool-test.module-test .form-group label {
    display: block;
    margin: 0 0 6px 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--koyu-gri);
    line-height: 1.4;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    /* Input kutucuğuna ortalı */
}

@media (max-width: 480px) {
    body.tool-test.module-test .form-group label {
        font-size: 0.8125rem;
        margin-bottom: 5px;
    }
}

body.tool-test.module-test .test-req {
    color: var(--kirmizi);
    font-weight: 600;
    margin-left: 2px;
}

/* Input ve Select - Temiz ve Erişilebilir - Kusursuz - TÜM ALANLAR AYNI GÖRÜNÜM */
body.tool-test.module-test .form-group input,
body.tool-test.module-test .form-group select,
body.tool-test.module-test .form-group .test-custom-select-trigger {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: var(--beyaz);
    color: var(--siyah);
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

/* Responsive font boyutları - Mobil kompakt görünüm */
@media (max-width: 480px) {

    body.tool-test.module-test .form-group input,
    body.tool-test.module-test .form-group select,
    body.tool-test.module-test .form-group .test-custom-select-trigger {
        font-size: 0.875rem;
        padding: 10px 12px;
        min-height: 42px;
    }

    body.tool-test.module-test .form-group input::placeholder,
    body.tool-test.module-test .form-group .test-custom-select-trigger::placeholder {
        font-size: 0.8125rem;
    }

    body.tool-test.module-test .test-custom-option {
        font-size: 0.875rem;
        padding: 8px 12px;
    }
}

body.tool-test.module-test .form-group input:focus,
body.tool-test.module-test .form-group select:focus,
body.tool-test.module-test .form-group .test-custom-select-trigger:focus {
    outline: none;
    border-color: var(--ana-vurgu);
    box-shadow: 0 0 0 3px rgba(var(--gold-dark-rgb), 0.15);
}

body.tool-test.module-test .form-group input:focus-visible,
body.tool-test.module-test .form-group select:focus-visible,
body.tool-test.module-test .form-group .test-custom-select-trigger:focus-visible {
    outline: 2px solid var(--ana-vurgu);
    outline-offset: 2px;
}

body.tool-test.module-test .form-group input::placeholder,
body.tool-test.module-test .form-group .test-custom-select-trigger::placeholder {
    color: var(--koyu-gri);
    opacity: 0.6;
}

/* Select Özel Stil - Kusursuz - Input ile Aynı Görünüm */
body.tool-test.module-test .form-group select {
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: pointer;
}

/* Custom select trigger için de aynı ok ikonu - no-arrow class'ı varsa kaldır */
body.tool-test.module-test .test-custom-select-trigger:not(.no-arrow) {
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: text;
}

body.tool-test.module-test .form-group select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: var(--input-disabled-bg);
}

/* Telefon input - Temiz ve basit, diğer input'larla aynı stil */

/* Custom Select Wrapper - Şehir Arama - Kusursuz - Input ile Aynı Görünüm */
body.tool-test.module-test .test-custom-select-wrapper {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

/* Custom select trigger - input ile aynı görünüm için */
body.tool-test.module-test .test-custom-select-trigger {
    width: 100% !important;
    min-height: 44px !important;
    padding: 10px 14px !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    background-color: var(--beyaz) !important;
    color: var(--siyah) !important;
    font-size: 1rem !important;
    font-family: inherit !important;
    line-height: 1.5 !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

/* Custom select trigger no-arrow class desteği */
body.tool-test.module-test .test-custom-select-trigger.no-arrow {
    background-image: none !important;
    padding-right: 14px !important;
}

body.tool-test.module-test .test-custom-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--beyaz);
    border: 1px solid #ddd;
    border-radius: 8px;
    max-height: 240px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 100%;
    box-sizing: border-box;
}

/* Scrollbar styling for custom options */
body.tool-test.module-test .test-custom-options::-webkit-scrollbar {
    width: 8px;
}

body.tool-test.module-test .test-custom-options::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

body.tool-test.module-test .test-custom-options::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

body.tool-test.module-test .test-custom-options::-webkit-scrollbar-thumb:hover {
    background: #555;
}

body.tool-test.module-test .test-custom-options.show {
    display: block;
}

body.tool-test.module-test .test-custom-option {
    padding: 10px 14px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    color: var(--siyah);
    font-size: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

body.tool-test.module-test .test-custom-option:last-child {
    border-bottom: none;
}

body.tool-test.module-test .test-custom-option:hover,
body.tool-test.module-test .test-custom-option:focus {
    background-color: rgba(var(--gold-dark-rgb), 0.1);
    outline: none;
}

body.tool-test.module-test .test-no-result {
    padding: 12px 14px;
    color: var(--koyu-gri);
    font-size: 0.9rem;
    text-align: center;
    font-style: italic;
}

/* Error States - Temiz ve Erişilebilir */
/* main.css'deki :invalid kuralını override et */
body.tool-test.module-test .form-group input:invalid+.form-error,
body.tool-test.module-test .form-group select:invalid+.form-error {
    display: none !important;
}

body.tool-test.module-test .form-error {
    display: none !important;
    margin-top: 6px;
    color: var(--kirmizi);
    font-size: 0.875rem;
    line-height: 1.4;
}

body.tool-test.module-test .form-group.error .form-error {
    display: block !important;
}

body.tool-test.module-test .form-group.error input,
body.tool-test.module-test .form-group.error select,
body.tool-test.module-test .form-group.error .test-custom-select-trigger {
    /* Kırmızı border kaldırıldı - sadece mesaj gösterilecek */
    border-color: var(--form-input-border) !important;
}

body.tool-test.module-test .form-group.error input:focus,
body.tool-test.module-test .form-group.error select:focus,
body.tool-test.module-test .form-group.error .test-custom-select-trigger:focus {
    /* Kırmızı border ve shadow kaldırıldı */
    border-color: var(--form-input-border-focus) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1) !important;
}

/* Error animation - subtle shake */
/* Shake animation class */
body.tool-test.module-test .test-shake-it {
    animation: test-error-shake 0.5s ease-in-out;
}

@keyframes test-error-shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-3px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(3px);
    }
}

body.tool-test.module-test .form-group.error {
    animation: test-error-shake 0.4s ease-in-out;
}

body.tool-test.module-test .test-shake-it {
    animation: test-error-shake 0.5s ease-in-out;
}

/* ==================== CİNSİYET SEÇİMİ - KUSURSUZ ==================== */
body.tool-test.module-test .test-gender-group,
body.tool-test.module-test .test-marital-group {
    display: flex;
    flex-direction: row;
    justify-content: stretch;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    flex-wrap: nowrap;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

body.tool-test.module-test .test-gender-item,
body.tool-test.module-test .test-marital-item {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex: 1 1 50%;
    min-width: 0;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #ddd;
    background-color: var(--beyaz);
    color: var(--siyah);
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
    margin: 0;
    overflow: hidden;
}

body.tool-test.module-test .test-marital-item {
    flex: 1 1 33.33%;
    padding: 10px 4px;
}

body.tool-test.module-test .test-gender-item:first-child,
body.tool-test.module-test .test-marital-item:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border-right: none;
}

body.tool-test.module-test .test-gender-item:last-child,
body.tool-test.module-test .test-marital-item:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-left: none;
}

body.tool-test.module-test .test-gender-item:not(:first-child):not(:last-child),
body.tool-test.module-test .test-marital-item:not(:first-child):not(:last-child) {
    border-left: none;
    border-right: none;
}

body.tool-test.module-test .test-gender-item input[type="radio"],
body.tool-test.module-test .test-marital-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

body.tool-test.module-test .test-gender-label,
body.tool-test.module-test .test-marital-label {
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    color: var(--siyah);
    cursor: pointer;
    user-select: none;
    width: 100%;
    display: block;
    line-height: 1.5;
}

body.tool-test.module-test .test-gender-item:hover,
body.tool-test.module-test .test-marital-item:hover {
    background-color: rgba(var(--gold-dark-rgb), 0.03);
    border-color: #E8D5A3;
}

body.tool-test.module-test .test-gender-item input[type="radio"]:checked+.test-gender-label,
body.tool-test.module-test .test-marital-item input[type="radio"]:checked+.test-marital-label {
    color: #8B6914;
    font-weight: 600;
}

body.tool-test.module-test .test-gender-item:has(input[type="radio"]:checked),
body.tool-test.module-test .test-marital-item:has(input[type="radio"]:checked) {
    background-color: #FFF8E7;
    border-color: #E8D5A3;
    color: #8B6914;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(var(--gold-dark-rgb), 0.15);
}

body.tool-test.module-test .test-gender-item:has(input[type="radio"]:checked) .test-gender-label,
body.tool-test.module-test .test-marital-item:has(input[type="radio"]:checked) .test-marital-label {
    color: #8B6914;
}

body.tool-test.module-test .test-gender-item:focus-within,
body.tool-test.module-test .test-marital-item:focus-within,
body.tool-test.module-test .test-gender-item input[type="radio"]:focus-visible,
body.tool-test.module-test .test-marital-item input[type="radio"]:focus-visible {
    outline: 2px solid var(--ana-vurgu);
    outline-offset: 2px;
    border-radius: 8px;
}

body.tool-test.module-test .form-group.error .test-gender-item,
body.tool-test.module-test .form-group.error .test-marital-item {
    border-color: var(--kirmizi);
}

body.tool-test.module-test .form-group.error .test-gender-item:has(input[type="radio"]:checked),
body.tool-test.module-test .form-group.error .test-marital-item:has(input[type="radio"]:checked) {
    border-color: var(--kirmizi);
    background-color: rgba(231, 76, 60, 0.1);
}

@media (max-width: 768px) {
    body.tool-test.module-test .test-gender-group,
    body.tool-test.module-test .test-marital-group {
        flex-direction: flex-row;
        gap: 0;
        border-radius: 8px;
        overflow: hidden;
    }

    body.tool-test.module-test .test-gender-item,
    body.tool-test.module-test .test-marital-item {
        flex: 1 1 auto;
        min-width: 0 !important;
    }

    body.tool-test.module-test .test-gender-item:first-child,
    body.tool-test.module-test .test-marital-item:first-child {
        border-top-left-radius: 8px !important;
        border-bottom-left-radius: 8px !important;
        border-right: none !important;
    }

    body.tool-test.module-test .test-gender-item:last-child,
    body.tool-test.module-test .test-marital-item:last-child {
        border-top-right-radius: 8px !important;
        border-bottom-right-radius: 8px !important;
        border-left: none !important;
    }

    body.tool-test.module-test .test-gender-item:not(:first-child):not(:last-child),
    body.tool-test.module-test .test-marital-item:not(:first-child):not(:last-child) {
        border-left: none !important;
        border-right: none !important;
    }
}

@media (max-width: 480px) {
    body.tool-test.module-test .test-gender-item,
    body.tool-test.module-test .test-marital-item {
        min-height: 42px;
        padding: 10px 4px;
    }

    body.tool-test.module-test .test-gender-label,
    body.tool-test.module-test .test-marital-label {
        font-size: 0.8125rem;
    }
}

/* Start Test Button - Temiz ve Erişilebilir - Kusursuz */
body.tool-test.module-test .start-test-btn {
    display: block !important;
    width: 100% !important;
    max-width: 300px !important;
    margin: 24px auto 0 !important;
    padding: 14px 28px !important;
    background-color: var(--ana-vurgu) !important;
    /* Tutarlı: gold-medium */
    color: var(--gold-text-dark) !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 10px rgba(var(--gold-dark-rgb), 0.3) !important;
    font-family: inherit !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    text-decoration: none !important;
    line-height: 1.5 !important;
}

@media (max-width: 480px) {
    body.tool-test.module-test .start-test-btn {
        max-width: 100% !important;
        font-size: 1rem !important;
        padding: 12px 24px !important;
    }
}

body.tool-test.module-test .start-test-btn:hover:not(:disabled) {
    background-color: var(--gold-medium) !important;
    /* Hover'da biraz daha koyu ama çok koyu değil */
    color: var(--gold-text-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(var(--gold-dark-rgb), 0.5) !important;
}

body.tool-test.module-test .start-test-btn:active:not(:disabled) {
    transform: translateY(0) !important;
}

body.tool-test.module-test .start-test-btn:focus-visible {
    outline: 2px solid var(--ana-vurgu) !important;
    outline-offset: 2px !important;
}

/* Wrapper div - disabled butonlara tıklama için */
body.tool-test.module-test .start-test-btn-wrapper {
    position: relative !important;
    display: inline-block !important;
    width: 100% !important;
    cursor: pointer !important;
    z-index: 10 !important;
    pointer-events: auto !important;
    /* ÇOK ÖNEMLİ - wrapper tıklanabilir olmalı */
}

body.tool-test.module-test .start-test-btn-wrapper:has(.start-test-btn:disabled) {
    cursor: help !important;
    pointer-events: auto !important;
    /* Disabled butonlarda da wrapper tıklanabilir */
}

/* Disabled buton için stil - artık disabled attribute yerine js-disabled class kullanıyoruz */
body.tool-test.module-test .start-test-btn[data-disabled="true"],
body.tool-test.module-test .start-test-btn.js-disabled,
body.tool-test.module-test .start-test-btn:disabled {
    background-color: var(--gri) !important;
    color: var(--beyaz) !important;
    cursor: help !important;
    /* Yardım imleci */
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.6 !important;
    position: relative;
    pointer-events: auto !important;
    /* Tıklanabilir - artık disabled değil */
    user-select: none !important;
    -webkit-user-select: none !important;
}

/* Disabled buton için tooltip efekti */
body.tool-test.module-test .start-test-btn:disabled:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    padding: 8px 12px;
    background-color: var(--siyah);
    color: var(--beyaz);
    font-size: 0.875rem;
    border-radius: 6px;
    white-space: nowrap;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    animation: tooltipFadeIn 0.2s ease forwards;
}

body.tool-test.module-test .start-test-btn:disabled:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 2px;
    border: 6px solid transparent;
    border-top-color: var(--siyah);
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    animation: tooltipFadeIn 0.2s ease forwards;
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Test intro note - Butonun altında */
body.tool-test.module-test .test-intro-note {
    margin-top: 16px;
    padding: 0 20px;
    font-size: clamp(0.8rem, 2.5vw, 0.875rem);
    line-height: 1.6;
    color: var(--koyu-gri);
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

body.tool-test.module-test .test-intro-note strong {
    color: var(--siyah);
    font-weight: 600;
}

/* Responsive - Test intro note */
@media (max-width: 480px) {
    body.tool-test.module-test .test-intro-note {
        padding: 0 15px;
        font-size: 0.8rem;
        margin-top: 12px;
    }
}

@media (max-width: 360px) {
    body.tool-test.module-test .test-intro-note {
        padding: 0 12px;
        font-size: 0.75rem;
        margin-top: 10px;
    }
}

/* Buton aktif durumu - Tutarlı gold rengi (ana-vurgu) */
body.tool-test.module-test .start-test-btn:not(:disabled) {
    background-color: var(--ana-vurgu) !important;
    /* Tutarlı: gold-medium */
    color: var(--gold-text-dark) !important;
    box-shadow: 0 4px 15px rgba(var(--gold-dark-rgb), 0.4) !important;
}

body.tool-test.module-test .start-test-btn:not(:disabled):hover {
    background-color: var(--gold-dark) !important;
    /* Hover'da daha koyu gold */
    color: var(--gold-text-light) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(var(--gold-dark-rgb), 0.5) !important;
}

/* Duplicate buton stilleri kaldırıldı - yukarıdaki !important kuralları yeterli */

/* ==================== RIZA CHECKBOX VE CONSENT MODAL - ARF TESTİ TEMASI ==================== */
body.tool-test.module-test .test-consent-wrapper {
    margin-top: 24px;
    width: 100%;
}

body.tool-test.module-test .test-legal-box {
    font-size: 0.75rem;
    color: var(--koyu-gri);
    border: 1px solid #ddd;
    background-color: rgba(var(--gold-dark-rgb), 0.02);
    padding: 12px 14px;
    border-radius: 8px;
    cursor: pointer;
    line-height: 1.5;
    transition: all 0.3s ease;
    min-height: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    box-sizing: border-box;
}

body.tool-test.module-test .test-legal-box:hover {
    background-color: rgba(var(--gold-dark-rgb), 0.05);
    border-color: var(--ana-vurgu);
}

body.tool-test.module-test .test-legal-box:focus-visible {
    outline: 2px solid var(--ana-vurgu);
    outline-offset: 2px;
}

body.tool-test.module-test .test-legal-box.test-accepted {
    background-color: rgba(var(--gold-dark-rgb), 0.08);
    color: var(--siyah);
    border-color: var(--ana-vurgu);
}

body.tool-test.module-test .test-consent-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: var(--beyaz);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin: 0;
}

body.tool-test.module-test .test-consent-checkbox:checked {
    background-color: var(--ana-vurgu);
    border-color: var(--ana-vurgu);
}

body.tool-test.module-test .test-consent-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--gold-text-dark);
    font-size: 12px;
    font-weight: bold;
}

body.tool-test.module-test .test-consent-text {
    flex: 1;
    display: block;
    line-height: 1.5;
    color: inherit;
}

body.tool-test.module-test .test-consent-link {
    color: var(--ana-vurgu);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s ease;
}

body.tool-test.module-test .test-consent-link:hover {
    color: var(--gold-dark);
}

body.tool-test.module-test .test-consent-success-message {
    margin-top: 10px;
    padding: 10px 14px;
    background-color: var(--yesil-light);
    border: 1px solid var(--yesil-border);
    border-radius: 8px;
    color: var(--yesil);
    font-size: 0.875rem;
    line-height: 1.5;
    display: none;
}

body.tool-test.module-test .test-consent-success-message i {
    margin-right: 6px;
}

/* Consent Modal */
body.tool-test.module-test .test-consent-modal-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: testFadeIn 0.3s ease;
    overflow-y: auto;
}

@keyframes testFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes testSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.tool-test.module-test .test-consent-modal-content {
    background: var(--beyaz);
    border: 1px solid var(--ana-vurgu);
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 22;
    animation: testSlideUp 0.3s ease;
    text-align: left;
    padding: 25px;
}

body.tool-test.module-test .test-consent-modal-content>h3 {
    color: var(--ana-vurgu);
    margin-bottom: 15px;
    font-size: 0.85rem;
    text-align: center !important;
    /* Başlık ortalı */
    margin-top: 0;
    font-weight: 600;
    line-height: 1.2;
    padding: 0;
}

body.tool-test.module-test .test-consent-modal-scroll-area {
    overflow-y: auto;
    flex: 1;
    padding-right: 10px;
    margin-bottom: 20px;
    max-height: 50vh;
}

/* Scrollbar gizle ama işlevi kalsın */
body.tool-test.module-test .test-consent-modal-scroll-area::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

body.tool-test.module-test .test-consent-modal-scroll-area {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE ve Edge */
}

body.tool-test.module-test .test-consent-modal-scroll-area::-webkit-scrollbar-track {
    background: transparent;
}

body.tool-test.module-test .test-consent-modal-scroll-area::-webkit-scrollbar-thumb {
    background: transparent;
}

body.tool-test.module-test .test-consent-modal-full-text {
    font-size: 0.75rem;
    color: var(--siyah);
    line-height: 1.8;
    text-align: center;
    margin: 0;
    padding: 0;
}

body.tool-test.module-test .test-consent-modal-full-text b {
    color: var(--ana-vurgu);
    display: block;
    margin-top: 12px;
    margin-bottom: 4px;
    text-align: center;
    /* Başlıklar ortalı */
    font-size: inherit;
    font-weight: 600;
    padding: 0;
}

body.tool-test.module-test .test-consent-modal-ok-btn {
    width: 100%;
    min-height: 44px;
    background-color: var(--ana-vurgu);
    color: var(--gold-text-dark);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

body.tool-test.module-test .test-consent-modal-ok-btn:hover {
    background-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(var(--gold-dark-rgb), 0.3);
}

body.tool-test.module-test .test-consent-modal-ok-btn:active {
    transform: scale(0.98);
}

body.tool-test.module-test .test-consent-modal-ok-btn:focus-visible {
    outline: 2px solid var(--ana-vurgu);
    outline-offset: 2px;
}

@media (max-width: 480px) {
    body.tool-test.module-test .test-consent-modal-content {
        max-width: 100%;
        max-height: 95vh;
        padding: 20px;
    }

    body.tool-test.module-test .test-legal-box {
        font-size: 0.7rem;
        padding: 10px 12px;
    }
}

body.tool-test.module-test .test-container {
    display: none;
    flex-direction: column;
    gap: clamp(16px, 3vw, 20px);
    margin-top: clamp(20px, 4vw, 30px);
    margin-bottom: clamp(30px, 5vw, 40px);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 clamp(10px, 2vw, 20px);
}

body.tool-test.module-test .question {
    background-color: var(--beyaz);
    padding: clamp(18px, 4vw, 25px);
    border-radius: 10px;
    box-shadow: 0 2px 10px #0000000d;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

body.tool-test.module-test .question:hover {
    box-shadow: 0 5px 15px #0000001a;
    transform: translateY(-3px);
}

body.tool-test.module-test .question-text {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    color: var(--siyah);
    text-align: center;
    line-height: 1.5;
}

body.tool-test.module-test .options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

body.tool-test.module-test .option {
    padding: clamp(12px, 3vw, 15px) clamp(60px, 10vw, 70px) clamp(12px, 3vw, 15px) clamp(45px, 9vw, 55px);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    background-color: var(--beyaz);
    text-align: left;
    font-size: clamp(0.875rem, 2.2vw, 1rem);
    line-height: 1.5;
    min-height: 44px;
    display: flex;
    align-items: center;
}

/* Option text için padding - puan metinleriyle çakışmayı önlemek için */
body.tool-test.module-test .option {
    padding-right: clamp(60px, 10vw, 70px) !important;
    /* Sağ tarafta puan metinleri için yer */
}

body.tool-test.module-test .option:hover {
    background-color: var(--acik-gri);
    border-color: var(--ana-vurgu);
}

body.tool-test.module-test .option.selected-xx {
    border: 2px solid var(--ana-vurgu);
    background-color: rgba(var(--gold-dark-rgb), 0.1);
}

body.tool-test.module-test .option.selected-x {
    border: 1px solid var(--ana-vurgu);
    background-color: rgba(var(--gold-dark-rgb), 0.05);
}

body.tool-test.module-test .option-letter {
    position: absolute;
    left: clamp(10px, 3vw, 15px);
    top: 50%;
    transform: translateY(-50%);
    width: clamp(24px, 6vw, 30px);
    height: clamp(24px, 6vw, 30px);
    background-color: var(--koyu-gri);
    color: var(--beyaz);
    border-radius: 30%;
    /* Hap şekli için tam yuvarlak */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: clamp(12px, 3vw, 14px);
    flex-shrink: 0;
    z-index: 1;
    /* Metinlerin üzerinde olması için */
}

/* Option text için spacing - puan metinleriyle çakışmayı önlemek için */
body.tool-test.module-test .option-text {
    display: inline-block;
    padding-right: clamp(50px, 8vw, 60px);
    /* Sağ tarafta puan metinleri için yer */
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

body.tool-test.module-test .option.selected-xx .option-letter,
.option.selected-x .option-letter {
    background-color: var(--ana-vurgu);
}

body.tool-test.module-test .option-points {
    position: absolute;
    right: clamp(10px, 3vw, 15px);
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    color: var(--ana-vurgu);
    padding: clamp(2px, 0.5vw, 3px) clamp(6px, 1.5vw, 8px);
    background-color: rgba(var(--gold-dark-rgb), 0.1);
    border-radius: 8px;
    font-weight: bold;
    white-space: nowrap;
    z-index: 1;
    /* Metinlerin üzerinde olması için */
    min-width: 40px;
    /* Minimum genişlik - metinlerle çakışmayı önlemek için */
    /* Boş olduğunda görünmemeli */
    display: none;
    /* Varsayılan olarak gizli */
}

/* Puan metni varsa göster - JavaScript ile kontrol ediliyor, burada sadece fallback */
body.tool-test.module-test .option-points:not(:empty) {
    display: block;
}

/* Boş puan kutucuklarını gizle */
body.tool-test.module-test .option-points:empty {
    display: none !important;
}

body.tool-test.module-test .option.disabled {
    opacity: 0.5;
    pointer-events: none;
}

body.tool-test.module-test .selection-instruction {
    font-size: clamp(0.65rem, 1.8vw, 0.7rem);
    color: var(--koyu-gri);
    margin-top: clamp(8px, 2vw, 10px);
    font-style: italic;
    text-align: center;
    transition: all 0.3s ease;
    line-height: 1.4;
    padding: 0 clamp(10px, 2.5vw, 15px);
}

/* Soru error state - titreme ve kırmızı border */
@keyframes test-error-shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-8px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(8px);
    }
}

body.tool-test.module-test .question.test-question-error {
    animation: test-error-shake 0.5s ease-in-out;
    border: 2px solid var(--kirmizi) !important;
    background-color: rgba(231, 76, 60, 0.05) !important;
}

/* Instruction error state - kırmızı kalın */
body.tool-test.module-test .selection-instruction.test-instruction-error {
    color: var(--kirmizi) !important;
    font-weight: 700 !important;
    font-style: normal !important;
    font-size: 0.8rem !important;
    margin-top: 12px !important;
    padding: 8px 12px !important;
    background-color: rgba(231, 76, 60, 0.1) !important;
    border-radius: 6px !important;
    /* Kırmızı sol border kaldırıldı */
}

body.tool-test.module-test .submit-btn {
    display: none;
    width: 100%;
    max-width: clamp(280px, 80vw, 300px);
    margin: clamp(20px, 4vw, 30px) auto 0;
    padding: clamp(12px, 3vw, 15px) clamp(20px, 4vw, 25px);
    background-color: var(--ana-vurgu);
    color: var(--gold-text-dark);
    border: none;
    border-radius: 20px;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(var(--gold-dark-rgb), 0.3);
    min-height: 44px;
    box-sizing: border-box;
}

body.tool-test.module-test .submit-btn:hover {
    background-color: var(--gold-dark);
    color: var(--gold-text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(var(--gold-dark-rgb), 0.4);
}

/* Disabled submit button - tıklama izni ver */
/* Disabled submit buton için stil - artık disabled attribute yerine js-disabled class kullanıyoruz */
body.tool-test.module-test .submit-btn[data-disabled="true"],
body.tool-test.module-test .submit-btn.js-disabled,
body.tool-test.module-test .submit-btn:disabled {
    background-color: var(--gri) !important;
    color: var(--beyaz) !important;
    cursor: help !important;
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.6 !important;
    position: relative;
    pointer-events: auto !important;
    /* Tıklanabilir - artık disabled değil */
    user-select: none !important;
    -webkit-user-select: none !important;
}

/* Duplicate kaldırıldı - yukarıda zaten tanımlı */

body.tool-test.module-test .submit-note {
    display: none;
    text-align: center;
    margin-top: clamp(12px, 2.5vw, 15px);
    margin-bottom: clamp(16px, 3vw, 20px);
    font-size: clamp(0.8rem, 2.2vw, 0.9rem);
    color: var(--koyu-gri);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 clamp(15px, 3vw, 20px);
    line-height: 1.6;
    box-sizing: border-box;
}

body.tool-test.module-test .submit-note strong span {
    color: var(--kirmizi);
    font-weight: bold;
}

body.tool-test.module-test .result-container {
    display: none;
    padding: clamp(20px, 4vw, 30px);
    background-color: var(--beyaz);
    border-radius: 10px;
    box-shadow: 0 0 20px #0000001a;
    margin-top: clamp(20px, 4vw, 30px);
    animation: fadeIn 0.5s ease;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.tool-test.module-test .result-title {
    text-align: center;
    color: var(--ana-vurgu);
    margin-bottom: clamp(20px, 4vw, 30px);
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    line-height: 1.3;
}

body.tool-test.module-test .user-info-display {
    background-color: var(--acik-gri);
    padding: clamp(16px, 3vw, 20px);
    border-radius: 10px;
    margin-bottom: clamp(20px, 4vw, 30px);
    width: 100%;
    box-sizing: border-box;
}

body.tool-test.module-test .user-info-display h3 {
    color: var(--ana-vurgu);
    margin-bottom: 15px;
    text-align: center;
}

body.tool-test.module-test .user-info-row {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(10px, 2.5vw, 15px);
    margin-bottom: clamp(8px, 2vw, 10px);
    justify-content: center;
}

body.tool-test.module-test .user-info-item {
    background-color: var(--beyaz);
    padding: clamp(8px, 2vw, 10px) clamp(12px, 2.5vw, 15px);
    border-radius: 8px;
    box-shadow: 0 1px 3px #0000000d;
    text-align: left;
    flex-basis: clamp(200px, 45vw, 220px);
    flex-grow: 1;
    font-size: clamp(0.85rem, 2.2vw, 0.9rem);
    box-sizing: border-box;
}

body.tool-test.module-test .user-info-item strong {
    color: var(--koyu-gri);
    margin-right: 5px;
}

body.tool-test.module-test .test-date {
    margin-top: clamp(12px, 2.5vw, 15px);
    font-size: clamp(0.8rem, 2.2vw, 0.9rem);
    color: var(--koyu-gri);
    width: 100%;
    text-align: center;
    line-height: 1.5;
}

body.tool-test.module-test .answers-summary {
    margin-top: 0;
    margin-bottom: clamp(20px, 4vw, 30px);
    background-color: var(--acik-gri);
    padding: clamp(18px, 4vw, 25px);
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
}

body.tool-test.module-test .answers-summary h3 {
    color: var(--ana-vurgu);
    margin-bottom: clamp(15px, 3vw, 20px);
    text-align: center;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
}

body.tool-test.module-test .answers-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

body.tool-test.module-test .answer-item {
    background-color: var(--beyaz);
    padding: clamp(8px, 2vw, 10px);
    border-radius: 8px;
    box-shadow: 0 2px 5px #0000000d;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    flex-basis: calc(20% - 10px);
    max-width: clamp(100px, 20vw, 120px);
    min-width: clamp(70px, 15vw, 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

body.tool-test.module-test .answer-question {
    font-weight: 600;
    margin-bottom: clamp(3px, 1vw, 5px);
    font-size: clamp(0.75rem, 2vw, 0.85rem);
}

body.tool-test.module-test .answer-options {
    font-size: clamp(0.7rem, 1.8vw, 0.8rem);
    line-height: 1.4;
}

body.tool-test.module-test .contact-note {
    background: linear-gradient(135deg, rgba(var(--gold-dark-rgb), 0.05) 0%, rgba(var(--gold-dark-rgb), 0.1) 100%);
    padding: clamp(25px, 5vw, 35px);
    border-radius: 15px;
    margin-bottom: clamp(20px, 4vw, 30px);
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    border: 2px solid rgba(var(--gold-dark-rgb), 0.2);
    box-shadow: 0 8px 25px rgba(var(--gold-dark-rgb), 0.15);
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.8s ease-out, fadeIn 0.8s ease-out;
}

/* Animasyonlu arka plan efekti */
body.tool-test.module-test .contact-note::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--gold-dark-rgb), 0.1) 0%, transparent 70%);
    animation: pulseGlow 3s ease-in-out infinite;
    pointer-events: none;
}

body.tool-test.module-test .contact-note-title {
    color: var(--ana-vurgu);
    margin-bottom: clamp(12px, 2.5vw, 16px);
    margin-top: 0;
    font-size: clamp(1.2rem, 3.5vw, 1.6rem);
    line-height: 1.3;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(var(--gold-dark-rgb), 0.3);
    animation: bounceIn 1s ease-out, fadeIn 1s ease-out;
    position: relative;
    z-index: 1;
}

body.tool-test.module-test .contact-note-content {
    margin-bottom: 0;
    margin-top: 0;
    font-size: clamp(0.9rem, 2.3vw, 1.05rem);
    line-height: 1.7;
    color: var(--koyu-gri);
    position: relative;
    z-index: 1;
    animation: fadeInUp 1.2s ease-out;
}

/* Paragraflar arası boşlukları azalt - ardışık br'leri gizle */
body.tool-test.module-test .contact-note-content br+br {
    display: none;
    line-height: 0;
}

/* Tek br'ler için minimal boşluk */
body.tool-test.module-test .contact-note-content br:not(br + br) {
    line-height: 1.2;
    display: block;
    margin: clamp(6px, 1.2vw, 10px) 0;
}

body.tool-test.module-test .contact-note-content strong {
    color: var(--ana-vurgu);
    font-weight: 600;
}

body.tool-test.module-test .contact-note p {
    margin-bottom: clamp(12px, 2.5vw, 15px);
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    line-height: 1.8;
    color: var(--koyu-gri);
    position: relative;
    z-index: 1;
}

/* Animasyonlar */
@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

body.tool-test.module-test .action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

body.tool-test.module-test .action-btn {
    display: flex;
    align-items: center;
    gap: clamp(6px, 1.5vw, 8px);
    padding: clamp(10px, 2.5vw, 12px) clamp(16px, 3.5vw, 20px);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: clamp(0.85rem, 2.2vw, 0.9rem);
    min-height: 44px;
    box-sizing: border-box;
    justify-content: center;
}

body.tool-test.module-test .action-btn svg {
    width: clamp(14px, 3.5vw, 16px);
    height: clamp(14px, 3.5vw, 16px);
    fill: currentColor;
    flex-shrink: 0;
}

body.tool-test.module-test .whatsapp-btn {
    background-color: var(--whatsapp);
    color: var(--beyaz);
}

body.tool-test.module-test .whatsapp-btn:hover {
    background-color: var(--whatsapp-hover);
}

body.tool-test.module-test .screenshot-btn {
    background-color: var(--gold-light);
    color: var(--gold-text-dark);
}

body.tool-test.module-test .screenshot-btn:hover {
    background-color: var(--gold-medium);
    color: var(--gold-text-light);
}

body.tool-test.module-test .download-btn {
    background-color: var(--ana-vurgu);
    color: var(--gold-text-dark);
}

body.tool-test.module-test .download-btn:hover {
    background-color: var(--gold-dark);
    color: var(--gold-text-light);
}

body.tool-test.module-test .restart-btn {
    background-color: var(--koyu-gri);
    color: var(--beyaz);
}

body.tool-test.module-test .restart-btn:hover {
    background-color: var(--koyu-gri);
    opacity: 0.9;
}

body.tool-test.module-test .action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px #0000001a;
}

body.tool-test.module-test .modal {
    display: none;
    position: fixed;
    z-index: var(--z-test-modal-overlay, 2000);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-dark);
    overflow: auto;
}

body.tool-test.module-test .modal-content {
    background-color: var(--beyaz);
    margin: clamp(10px, 5vh, 5%) auto;
    padding: clamp(15px, 3vw, 20px);
    border-radius: 10px;
    max-width: clamp(280px, 90vw, 90%);
    max-height: clamp(400px, 85vh, 90%);
    overflow: auto;
    position: relative;
    box-sizing: border-box;
}

body.tool-test.module-test .close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    color: var(--siyah);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

body.tool-test.module-test .close-modal:hover {
    color: var(--kirmizi);
}



body.tool-test.module-test .modal-actions {
    display: flex;
    justify-content: center;
    gap: clamp(10px, 2.5vw, 15px);
    margin-top: clamp(15px, 3vw, 20px);
    flex-wrap: wrap;
}

body.tool-test.module-test .modal-btn {
    padding: clamp(8px, 2vw, 10px) clamp(16px, 3.5vw, 20px);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: clamp(0.85rem, 2.2vw, 0.9rem);
    min-height: 44px;
    box-sizing: border-box;
    flex: 1;
    min-width: 120px;
    max-width: 200px;
}

body.tool-test.module-test .modal-cancel-btn {
    background-color: var(--gri);
    color: var(--beyaz);
}

body.tool-test.module-test .modal-download-btn {
    background-color: var(--ana-vurgu);
    color: var(--gold-text-dark);
}

body.tool-test.module-test .modal-download-btn:hover {
    background-color: var(--gold-dark);
    color: var(--gold-text-light);
}

body.tool-test.module-test footer {
    background: linear-gradient(135deg, var(--footer-bg-start), var(--footer-bg-end));
    color: var(--footer-text);
    text-align: center;
    padding: 25px 20px;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    width: 100%;
    margin-top: auto;
}

body.tool-test.module-test footer .contact-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

body.tool-test.module-test footer .contact-links a {
    color: var(--footer-text);
    text-decoration: none;
    border-bottom: 1px dotted var(--footer-text);
    transition: color 0.3s, border-bottom-color 0.3s;
}

body.tool-test.module-test footer .contact-links .link-separator {
    margin: 0 10px;
    color: var(--footer-text);
    opacity: 0.8;
}

body.tool-test.module-test footer .contact-links a:hover {
    color: var(--gold-light);
    border-bottom-color: var(--gold-light);
}

body.tool-test.module-test footer .copyright {
    margin-top: 0;
    font-size: 0.85em;
    opacity: 0.9;
}

/* Tablet ve küçük ekranlar (768px ve altı) */
@media (max-width: 768px) {
    body.tool-test.module-test .container {
        padding: clamp(12px, 2.5vw, 15px);
    }

    body.tool-test.module-test header,
    body.tool-test.module-test footer {
        padding: clamp(18px, 3vw, 20px) clamp(12px, 2.5vw, 15px);
    }

    body.tool-test.module-test h1 {
        font-size: clamp(1.4rem, 4vw, 1.6rem);
    }

    body.tool-test.module-test .question {
        padding: clamp(16px, 3.5vw, 20px);
    }

    body.tool-test.module-test .question-text {
        margin-bottom: clamp(15px, 3vw, 20px);
    }

    body.tool-test.module-test .options {
        gap: clamp(10px, 2.5vw, 12px);
    }

    body.tool-test.module-test .user-info-item {
        flex-basis: 100%;
        text-align: center;
    }

    body.tool-test.module-test .user-info-item strong {
        display: block;
        margin-bottom: 3px;
    }

    body.tool-test.module-test .action-buttons {
        flex-direction: column;
        align-items: center;
        gap: clamp(12px, 2.5vw, 15px);
    }

    body.tool-test.module-test .action-btn {
        width: 100%;
        max-width: clamp(280px, 80vw, 300px);
        justify-content: center;
    }

    body.tool-test.module-test .answers-grid .answer-item {
        flex-basis: calc(33.33% - 10px);
        min-width: clamp(70px, 18vw, 90px);
    }

    body.tool-test.module-test .form-grid {
        grid-template-columns: 1fr;
    }

    body.tool-test.module-test .test-container {
        padding: 0 clamp(8px, 2vw, 15px);
    }

    body.tool-test.module-test .result-container {
        padding: clamp(18px, 3.5vw, 25px);
    }
}

/* Mobil cihazlar (480px ve altı) */
@media (max-width: 480px) {
    body.tool-test.module-test .contact-note {
        padding: clamp(18px, 3.5vw, 22px);
        border-radius: 12px;
    }

    body.tool-test.module-test .contact-note-title {
        font-size: clamp(1.1rem, 4.5vw, 1.35rem);
        margin-bottom: clamp(10px, 2vw, 14px);
        margin-top: 0;
    }

    body.tool-test.module-test .contact-note-content {
        font-size: clamp(0.85rem, 2.8vw, 0.95rem);
        line-height: 1.65;
        margin-top: 0;
        margin-bottom: 0;
    }

    body.tool-test.module-test .answers-grid .answer-item {
        flex-basis: calc(50% - 10px);
        min-width: clamp(80px, 20vw, 100px);
        max-width: none;
    }

    body.tool-test.module-test .option {
        padding: clamp(10px, 3vw, 12px) clamp(55px, 9vw, 65px) clamp(10px, 3vw, 12px) clamp(40px, 8vw, 50px);
        min-height: 48px;
    }

    body.tool-test.module-test .option-text {
        padding-right: clamp(45px, 7vw, 55px);
    }

    body.tool-test.module-test .option-letter {
        left: clamp(8px, 2.5vw, 10px);
        width: clamp(22px, 5.5vw, 28px);
        height: clamp(22px, 5.5vw, 28px);
    }

    body.tool-test.module-test .option-points {
        right: clamp(8px, 2.5vw, 12px);
        font-size: clamp(0.65rem, 1.8vw, 0.75rem);
    }

    body.tool-test.module-test footer .contact-links {
        flex-direction: column;
        gap: clamp(8px, 2vw, 10px);
    }

    body.tool-test.module-test footer .contact-links .link-separator {
        display: none;
    }

    body.tool-test.module-test footer .contact-links a {
        margin: 0;
    }

    body.tool-test.module-test .test-container {
        gap: clamp(14px, 3vw, 18px);
        padding: 0 clamp(5px, 1.5vw, 10px);
    }

    body.tool-test.module-test .submit-btn {
        max-width: 100%;
        padding: clamp(12px, 3vw, 14px) clamp(18px, 4vw, 22px);
    }

    body.tool-test.module-test .modal-content {
        margin: clamp(5px, 2vh, 10px) auto;
        padding: clamp(12px, 3vw, 18px);
        max-width: 95%;
    }
}

/* Çok küçük mobil cihazlar (360px ve altı) */
@media (max-width: 360px) {
    body.tool-test.module-test .option {
        padding: clamp(8px, 2.5vw, 10px) clamp(50px, 8vw, 60px) clamp(8px, 2.5vw, 10px) clamp(35px, 7vw, 45px);
    }

    body.tool-test.module-test .option-text {
        padding-right: clamp(40px, 6vw, 50px);
    }

    body.tool-test.module-test .option-letter {
        width: clamp(20px, 5vw, 24px);
        height: clamp(20px, 5vw, 24px);
        font-size: clamp(10px, 2.5vw, 12px);
    }

    body.tool-test.module-test .answers-grid {
        gap: clamp(6px, 2vw, 8px);
    }

    body.tool-test.module-test .answers-grid .answer-item {
        flex-basis: calc(50% - 6px);
        padding: clamp(6px, 1.5vw, 8px);
        font-size: clamp(0.75rem, 2vw, 0.85rem);
    }

    body.tool-test.module-test .action-btn {
        padding: clamp(10px, 2.5vw, 12px) clamp(14px, 3vw, 18px);
        font-size: clamp(0.8rem, 2vw, 0.85rem);
    }

    body.tool-test.module-test .user-info-form {
        padding: 12px;
    }

    body.tool-test.module-test .form-group input,
    body.tool-test.module-test .form-group select,
    body.tool-test.module-test .form-group .test-custom-select-trigger {
        font-size: 16px;
        /* iOS zoom önleme */
        padding: 12px 14px;
    }
}

/* Çok küçük ekranlar (320px ve altı) - iPhone 5/SE, Galaxy S5, Facebook on Android */
@media (max-width: 320px) {
    body.tool-test.module-test .container {
        padding: 10px;
    }

    body.tool-test.module-test header {
        padding: 18px 10px;
        margin-bottom: 15px;
    }

    body.tool-test.module-test .user-info-form {
        padding: 10px;
    }

    body.tool-test.module-test .form-grid {
        gap: 12px;
    }

    body.tool-test.module-test .question {
        padding: 14px;
    }

    body.tool-test.module-test .option {
        padding: 8px 45px 8px 30px;
        min-height: 44px;
    }

    body.tool-test.module-test .option-letter {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    body.tool-test.module-test .option-points {
        right: 8px;
        font-size: 0.65rem;
    }

    body.tool-test.module-test .submit-btn {
        padding: 12px 18px;
        font-size: 0.95rem;
    }

    body.tool-test.module-test .action-btn {
        padding: 10px 14px;
        font-size: 0.8rem;
    }
}

/* iPhone 12 Pro (390px) */
@media (min-width: 375px) and (max-width: 390px) {
    body.tool-test.module-test .container {
        padding: clamp(15px, 3vw, 18px);
    }

    body.tool-test.module-test .user-info-form {
        padding: clamp(16px, 3vw, 20px);
    }

    body.tool-test.module-test .form-grid {
        gap: clamp(16px, 3vw, 18px);
    }
}

/* iPhone XR, Pixel 7, Galaxy S20 Ultra, Galaxy A51/71 (414px) */
@media (min-width: 391px) and (max-width: 430px) {
    body.tool-test.module-test .container {
        padding: clamp(16px, 3.5vw, 20px);
    }

    body.tool-test.module-test .user-info-form {
        padding: clamp(18px, 3.5vw, 24px);
    }

    body.tool-test.module-test .form-grid {
        gap: clamp(18px, 3.5vw, 20px);
    }

    body.tool-test.module-test .question {
        padding: clamp(18px, 4vw, 24px);
    }
}

/* iPhone 14 Pro Max (430px) */
@media (min-width: 431px) and (max-width: 479px) {
    body.tool-test.module-test .container {
        padding: clamp(18px, 4vw, 22px);
    }

    body.tool-test.module-test .user-info-form {
        padding: clamp(20px, 4vw, 26px);
    }

    body.tool-test.module-test .form-grid {
        gap: clamp(20px, 4vw, 22px);
    }
}

/* Tablet Portrait - iPad Mini (768px) */
@media (min-width: 600px) and (max-width: 767px) {
    body.tool-test.module-test .container {
        padding: clamp(20px, 3vw, 25px);
    }

    body.tool-test.module-test .user-info-form {
        padding: clamp(24px, 4vw, 30px);
    }

    body.tool-test.module-test .form-grid {
        grid-template-columns: 1fr;
        gap: clamp(20px, 3vw, 24px);
    }

    body.tool-test.module-test .question {
        padding: clamp(20px, 3.5vw, 26px);
    }

    body.tool-test.module-test .options {
        gap: clamp(14px, 2.5vw, 16px);
    }
}

/* Tablet Landscape - iPad Air (820px) */
@media (min-width: 768px) and (max-width: 912px) {
    body.tool-test.module-test .container {
        padding: clamp(25px, 3.5vw, 30px);
    }

    body.tool-test.module-test .user-info-form {
        padding: clamp(28px, 4vw, 32px);
    }

    body.tool-test.module-test .form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(20px, 2.5vw, 24px);
    }

    body.tool-test.module-test .question {
        padding: clamp(22px, 3vw, 28px);
    }
}

/* Surface Pro 7 (912px) */
@media (min-width: 913px) and (max-width: 1023px) {
    body.tool-test.module-test .container {
        padding: clamp(28px, 3vw, 32px);
    }

    body.tool-test.module-test .user-info-form {
        padding: clamp(30px, 4vw, 35px);
    }

    body.tool-test.module-test .form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(22px, 2.5vw, 26px);
    }
}

/* iPad Pro, Nest Hub (1024px) */
@media (min-width: 1024px) and (max-width: 1279px) {
    body.tool-test.module-test .container {
        max-width: 900px;
        padding: clamp(30px, 3vw, 35px);
    }

    body.tool-test.module-test .user-info-form {
        padding: clamp(32px, 4vw, 38px);
    }

    body.tool-test.module-test .form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(24px, 2.5vw, 28px);
    }

    body.tool-test.module-test .question {
        padding: clamp(25px, 3vw, 30px);
    }
}

/* Nest Hub Max (1280px) */
@media (min-width: 1280px) and (max-width: 1919px) {
    body.tool-test.module-test .container {
        max-width: 1000px;
        padding: clamp(35px, 3vw, 40px);
    }

    body.tool-test.module-test .user-info-form {
        padding: clamp(35px, 4vw, 40px);
    }

    body.tool-test.module-test .form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(26px, 2.5vw, 30px);
    }
}

/* PC FHD (1920px) */
@media (min-width: 1920px) {
    body.tool-test.module-test .container {
        max-width: 1200px;
        padding: clamp(40px, 3vw, 45px);
    }

    body.tool-test.module-test .user-info-form {
        padding: clamp(40px, 4vw, 45px);
    }

    body.tool-test.module-test .form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(28px, 2.5vw, 32px);
    }

    body.tool-test.module-test .question {
        padding: clamp(28px, 3vw, 32px);
    }
}

/* Galaxy Z Fold 5 Açık (1768px) - Özel durum */
@media (min-width: 1768px) and (max-width: 1919px) {
    body.tool-test.module-test .container {
        max-width: 1400px;
        padding: clamp(38px, 3vw, 42px);
    }

    body.tool-test.module-test .user-info-form {
        padding: clamp(38px, 4vw, 42px);
    }
}

/* Asus Zenbook Fold (2560px) - Ultra geniş ekranlar */
@media (min-width: 2560px) {
    body.tool-test.module-test .container {
        max-width: 1600px;
        padding: clamp(45px, 3vw, 50px);
    }

    body.tool-test.module-test .user-info-form {
        padding: clamp(45px, 4vw, 50px);
    }

    body.tool-test.module-test .form-grid {
        gap: clamp(30px, 2.5vw, 35px);
    }

    body.tool-test.module-test .question {
        padding: clamp(30px, 3vw, 35px);
    }
}

body.tool-test.module-test .welcome-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-darker);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

body.tool-test.module-test .welcome-popup-content {
    background-color: var(--popup-bg);
    padding: clamp(20px, 4vw, 30px) clamp(20px, 3.5vw, 25px);
    border-radius: 15px;
    border: 2px solid var(--gold-light);
    box-shadow: 0 8px 30px rgba(var(--gold-dark-rgb), 0.25);
    text-align: center;
    position: relative;
    width: 100%;
    max-width: clamp(280px, 90vw, 560px);
    min-width: 280px;
    max-height: 85vh;
    overflow-y: auto;
    overflow-x: hidden;
    animation: welcomePopupScaleIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-sizing: border-box;
}

/* Welcome popup scrollbar gizle ama işlevi kalsın */
body.tool-test.module-test .welcome-popup-content::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

body.tool-test.module-test .welcome-popup-content {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE ve Edge */
}

body.tool-test.module-test .welcome-popup-content::-webkit-scrollbar-track {
    background: transparent;
}

body.tool-test.module-test .welcome-popup-content::-webkit-scrollbar-thumb {
    background: transparent;
}

@keyframes welcomePopupScaleIn {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

body.tool-test.module-test .welcome-popup-content h2 {
    margin-top: 0;
    margin-bottom: clamp(15px, 3vw, 20px);
    color: var(--ana-vurgu);
    font-size: clamp(1.2rem, 4vw, 1.7rem);
    font-weight: 700;
    line-height: 1.3;
}

body.tool-test.module-test .welcome-popup-content p {
    color: var(--siyah);
    margin-bottom: clamp(12px, 2.5vw, 18px);
    font-size: clamp(0.8rem, 2.5vw, 0.95rem);
    line-height: 1.6;
    text-align: center;
}

body.tool-test.module-test .welcome-popup-content p.sub-heading {
    font-weight: 600;
    color: var(--gold-dark);
    margin-top: 20px;
    font-size: clamp(0.9rem, 3vw, 1rem);
}

body.tool-test.module-test .welcome-popup-content strong {
    color: var(--ana-vurgu);
    font-weight: 600;
}

body.tool-test.module-test .welcome-popup-content ol,
body.tool-test.module-test .welcome-popup-content ul {
    text-align: center;
    list-style-position: inside;
    padding-left: 0;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 18px;
    max-width: 90%;
}

body.tool-test.module-test .welcome-popup-content ol li,
body.tool-test.module-test .welcome-popup-content ul li {
    margin-bottom: 10px;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
}

body.tool-test.module-test .welcome-popup-content ul ul {
    margin-top: 8px;
    margin-bottom: 10px;
    padding-left: 0;
}

body.tool-test.module-test .welcome-popup-content ul ul li {
    font-size: clamp(0.75rem, 2.3vw, 0.85rem);
}

body.tool-test.module-test .welcome-popup-close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    font-weight: 300;
    color: var(--koyu-gri);
    cursor: pointer;
    border: none;
    background: none;
    padding: 5px;
    line-height: 1;
    transition: color 0.3s, transform 0.2s;
}

body.tool-test.module-test .welcome-popup-close-button:hover {
    color: var(--kirmizi);
    transform: scale(1.1);
}

body.tool-test.module-test .welcome-popup-action-button {
    display: inline-block;
    padding: 14px 30px;
    background-image: linear-gradient(135deg, var(--gold-light), var(--ana-vurgu));
    color: var(--gold-text-dark);
    border: none;
    border-radius: 25px;
    font-size: clamp(0.95rem, 3.2vw, 1.1rem);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(var(--gold-dark-rgb), 0.3);
    margin-top: 15px;
}

body.tool-test.module-test .welcome-popup-action-button:hover {
    background-image: linear-gradient(135deg, var(--ana-vurgu), var(--gold-dark));
    color: var(--gold-text-light);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 20px rgba(var(--gold-dark-rgb), 0.4);
}

body.tool-test.module-test .welcome-popup-action-button:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 2px 10px rgba(var(--gold-dark-rgb), 0.3);
}

body.tool-test.module-test .welcome-popup-overlay.show {
    display: flex;
}

/* Welcome popup responsive - tüm ekran boyutları için */
@media (max-width: 480px) {
    body.tool-test.module-test .welcome-popup-content {
        max-width: 95vw;
        padding: clamp(18px, 4vw, 25px) clamp(15px, 3vw, 20px);
        max-height: 90vh;
    }
}

@media (max-width: 360px) {
    body.tool-test.module-test .welcome-popup-content {
        max-width: 98vw;
        padding: clamp(15px, 4vw, 20px) clamp(12px, 3vw, 18px);
        max-height: 92vh;
    }

    body.tool-test.module-test .welcome-popup-action-button {
        min-width: 180px;
        padding: 12px 20px;
    }
}

/* Screenshot Content Styles - Inline style'lar yerine CSS class'ları */
body.tool-test.module-test .test-screenshot-container {
    padding: 20px;
    max-width: 760px;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
    background-color: var(--beyaz);
    border: 1px solid #eee;
}

body.tool-test.module-test .test-screenshot-title {
    text-align: center;
    color: var(--ana-vurgu);
    margin-bottom: 20px;
}

body.tool-test.module-test .test-screenshot-section {
    background-color: var(--acik-gri);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

body.tool-test.module-test .test-screenshot-section-center {
    text-align: center;
}

body.tool-test.module-test .test-screenshot-section-title {
    color: var(--ana-vurgu);
    margin-bottom: 10px;
    text-align: center;
}

body.tool-test.module-test .test-screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    font-size: 0.9rem;
}

body.tool-test.module-test .test-screenshot-date {
    font-size: 0.8rem;
    margin-top: 10px;
}

body.tool-test.module-test .test-screenshot-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
    text-align: center;
}

body.tool-test.module-test .test-screenshot-option-item {
    background-color: var(--beyaz);
    padding: 8px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    font-size: 0.85rem;
}

body.tool-test.module-test .test-screenshot-option-question {
    font-weight: 600;
    margin-bottom: 3px;
}

body.tool-test.module-test .test-screenshot-option-text {
    font-size: 0.75rem;
}

body.tool-test.module-test .test-screenshot-evaluation {
    margin-top: 20px;
    font-size: 0.9rem;
}

body.tool-test.module-test .test-screenshot-link {
    color: var(--ana-vurgu);
    font-weight: 600;
}

body.tool-test.module-test .test-screenshot-link:hover {
    text-decoration: underline;
}

/* ==================== CONSENT BOX SINGLE - Minimal KVKK ==================== */

body.tool-test.module-test .consent-box-single {
    margin: clamp(16px, 3vw, 24px) auto 0 auto;
    display: flex;
    justify-content: center;
    width: 100%;
}

body.tool-test.module-test .consent-item-single {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    padding: clamp(10px, 2vw, 12px) clamp(14px, 2.5vw, 20px);
    background: rgba(var(--gold-dark-rgb), 0.02);
    border: 1px solid rgba(var(--gold-dark-rgb), 0.1);
    border-radius: 8px;
    transition: background 0.2s ease, border-color 0.2s ease;
    max-width: 100%;
    box-sizing: border-box;
}

body.tool-test.module-test .consent-item-single:hover {
    background: rgba(var(--gold-dark-rgb), 0.04);
    border-color: rgba(var(--gold-dark-rgb), 0.15);
}

body.tool-test.module-test .consent-item-single input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    border: 1.5px solid rgba(var(--gold-dark-rgb), 0.25);
    border-radius: 3px;
    background: var(--beyaz);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    position: relative;
    margin-top: 3px;
}

body.tool-test.module-test .consent-item-single input[type="checkbox"]:checked {
    background: rgba(var(--gold-dark-rgb), 0.2);
    border-color: rgba(var(--gold-dark-rgb), 0.35);
}

body.tool-test.module-test .consent-item-single input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--koyu-gri);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
}

body.tool-test.module-test .consent-item-single span {
    font-size: clamp(0.62rem, 1.5vw, 0.68rem);
    color: var(--koyu-gri);
    line-height: 1.4;
    flex: 1;
    max-width: calc(100% - 24px);
}

body.tool-test.module-test .consent-item-single .consent-required {
    display: inline-block;
    margin-left: 4px;
    color: var(--kirmizi);
    font-weight: 700;
    font-size: 0.95em;
    line-height: 1;
}

/* Mobil */
@media (max-width: 420px) {
    body.tool-test.module-test .consent-item-single {
        padding: clamp(8px, 2vw, 10px) clamp(12px, 2.5vw, 16px);
        gap: 8px;
    }

    body.tool-test.module-test .consent-item-single input[type="checkbox"] {
        width: 13px;
        height: 13px;
        min-width: 13px;
        min-height: 13px;
        margin-top: 2px;
    }

    body.tool-test.module-test .consent-item-single input[type="checkbox"]:checked::after {
        font-size: 9px;
    }

    body.tool-test.module-test .consent-item-single span {
        font-size: clamp(0.58rem, 1.8vw, 0.64rem);
    }
}

/* ========================================== */