/* Design comun 3C — testele viitoare includ platform/test-profile.php. */
body[data-test-theme="3c"]{--red:#2874d7;--blush:#edf5ff;--bg:#fff;--grad:#eaf3ff;background:#f5f7fb;color:#193451;font-family:Inter,system-ui,sans-serif}
body[data-test-theme="3c"] main{box-sizing:border-box}
body[data-test-theme="3c"] main:not(#test3c):not(.chemare3c main){width:min(1040px,calc(100% - 32px));margin:32px auto 70px;padding:28px;background:#fff;border:1px solid #dce6f2;border-radius:24px;box-shadow:0 20px 60px -40px #225da2}
body[data-test-theme="3c"] main .wrap,body[data-test-theme="3c"] main .containerr{max-width:100%;box-sizing:border-box}
body[data-test-theme="3c"] main h1,body[data-test-theme="3c"] main h2,body[data-test-theme="3c"] main h3{color:#193451;font-family:Manrope,Inter,system-ui,sans-serif}
body[data-test-theme="3c"] main input,body[data-test-theme="3c"] main select{accent-color:#2874d7}
body[data-test-theme="3c"] main button:not(.test3c-read-more),body[data-test-theme="3c"] main .continua{border-radius:13px;min-height:44px;padding:12px 20px;font-family:Inter,system-ui,sans-serif;transition:transform .2s,box-shadow .2s}
body[data-test-theme="3c"] main button:hover:not(:disabled),body[data-test-theme="3c"] main .continua:hover{transform:translateY(-2px);box-shadow:0 10px 22px -12px #2874d7}
body[data-test-theme="3c"] main .option-label,body[data-test-theme="3c"] main .option-box,body[data-test-theme="3c"] main .answer-section{border-radius:14px;border-color:#d7e4f5;font-family:Inter,system-ui,sans-serif;line-height:1.65}
body[data-test-theme="3c"] main .option-label.active{background:#edf5ff!important;border-color:#4192ff}
body[data-test-theme="3c"] main input[type=text],body[data-test-theme="3c"] main input[type=email],body[data-test-theme="3c"] main textarea{max-width:100%;box-sizing:border-box;border-radius:12px;border:1px solid #cddff2;padding:12px;font-size:16px}
body[data-test-theme="3c"] main table{max-width:100%}body[data-test-theme="3c"] main img,body[data-test-theme="3c"] main video,body[data-test-theme="3c"] main canvas{max-width:100%;height:auto}
body[data-test-theme="3c"] main :focus-visible{outline:3px solid #7eb4ff;outline-offset:3px}
body[data-test-theme="3c"] main{animation:p3-test-enter .55s ease both}
@keyframes p3-test-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){body[data-test-theme="3c"] main:not(#test3c):not(.chemare3c main){width:calc(100% - 20px);padding:18px 12px;margin:18px auto 44px}body[data-test-theme="3c"] main .row{max-width:100%;margin-left:0;margin-right:0}body[data-test-theme="3c"] main h1{font-size:clamp(25px,7vw,34px)}body[data-test-theme="3c"] main .options{flex-wrap:wrap}body[data-test-theme="3c"] main .options label{max-width:100%}}
@media(prefers-reduced-motion:reduce){body[data-test-theme="3c"] main,body[data-test-theme="3c"] main *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
body[data-test-theme="3c"] #background-img{background:#f5f7fb!important;padding-top:10px;min-height:0}
body[data-test-theme="3c"] main .psp-wrap,body[data-test-theme="3c"] main .statute-test-wrap{max-width:100%;padding:0}
body[data-test-theme="3c"] main .psp-card,body[data-test-theme="3c"] main .statute-test-card{background:#fff;border-color:#dce6f2;box-shadow:none;border-radius:20px}
body[data-test-theme="3c"] main .test-hero,body[data-test-theme="3c"] main .gender-card{background:linear-gradient(120deg,#fff,#edf5ff);border:1px solid #dce6f2;border-radius:22px;color:#193451;padding:24px}
body[data-test-theme="3c"] main .btn-primary,body[data-test-theme="3c"] main .continua,body[data-test-theme="3c"] main #start-test,body[data-test-theme="3c"] main #btnStart{background:#2874d7;color:#fff;border:1px solid #2874d7}

/* v42 — aliniere comună pentru restul testelor care folosesc tema 3C. */
body[data-test-theme="3c"] main:where(:not(#test3c):not(#m20-test)) { text-align: center; }
body[data-test-theme="3c"] main:where(:not(#test3c):not(#m20-test)) :is(h1, h2, h3, p, legend, label, .intro, .summary, .question-text, .section-title, .section-help, .question-title) {
    text-align: center !important;
    margin-inline: auto;
}
body[data-test-theme="3c"] main [hidden] { display: none !important; }
body[data-test-theme="3c"] main:where(:not(#test3c):not(#m20-test)) :is(.disclaimer-box, .instruction-box, .rank-help, .rank-list, .rank-list li, .form-row, .result-section, .profile-selection, .profile-summary, .qbox, .qtext, .qtitle, th, td, caption) {
    text-align: center !important;
    margin-inline: auto;
}
body[data-test-theme="3c"] main:where(:not(#test3c):not(#m20-test)) :is(.options, .buttons, .btns, #buttons, .radioBox, .field-group, .answer-section, .gender-selection, .gender-options) {
    justify-content: center;
    text-align: center;
    margin-inline: auto;
    min-width: 0;
    max-width: 100%;
}
body[data-test-theme="3c"] main:where(:not(#test3c):not(#m20-test)) :is(.option-label, .option-box, .option, .option-card) { justify-content: center; text-align: center; }
body[data-test-theme="3c"] main:where(:not(#test3c):not(#m20-test)) :is(input[type=text], input[type=email], textarea, select) {
    display: block;
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
}
body[data-test-theme="3c"] main:where(:not(#test3c):not(#m20-test)) :is(button, .continua, .btn-primary, .btn-secondary) {
    display: inline-flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    max-width: calc(100% - 12px);
    white-space: normal;
    margin: 12px 6px;
}
/* Textul de progres din interiorul barelor vechi este așezat deasupra. */
body[data-test-theme="3c"] main:where(:not(#test3c):not(#m20-test)) #progress-container {
    position: relative;
    height: 9px;
    border: 0;
    border-radius: 999px;
    background: #e7effa;
    overflow: visible;
    margin: 46px auto 26px;
}
body[data-test-theme="3c"] main:where(:not(#test3c):not(#m20-test)) #progress-bar {
    height: 100%;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #4192ff 0%, #34b0e5 65%, #46dc8f 100%);
    transition: width .3s ease;
}
body[data-test-theme="3c"] main:where(:not(#test3c):not(#m20-test)) #progress-container #progress-text {
    position: absolute;
    top: auto;
    bottom: calc(100% + 10px);
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    margin: 0;
    transform: none;
    text-align: center;
    color: #246dc2;
    font-size: 13px;
    line-height: 1.5;
}
body[data-test-theme="3c"] main:where(:not(#test3c):not(#m20-test)) progress {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    height: 9px;
    border: 0;
    border-radius: 999px;
    overflow: hidden;
    margin: 14px auto 26px;
    background: #e7effa;
    accent-color: #4192ff;
}
body[data-test-theme="3c"] main:where(:not(#test3c):not(#m20-test)) progress::-webkit-progress-bar { background: #e7effa; border-radius: 999px; }
body[data-test-theme="3c"] main:where(:not(#test3c):not(#m20-test)) progress::-webkit-progress-value { background: linear-gradient(90deg, #4192ff 0%, #34b0e5 65%, #46dc8f 100%); border-radius: 999px; transition: width .3s ease; }
body[data-test-theme="3c"] main:where(:not(#test3c):not(#m20-test)) progress::-moz-progress-bar { background: linear-gradient(90deg, #4192ff 0%, #34b0e5 65%, #46dc8f 100%); border-radius: 999px; transition: width .3s ease; }
@media (max-width: 600px) {
    body[data-test-theme="3c"] main:where(:not(#test3c):not(#m20-test)) :is(button, .continua, .btn-primary, .btn-secondary) { margin: 10px auto; }
}
@media (prefers-reduced-motion: reduce) {
    body[data-test-theme="3c"] main #progress-bar { transition: none; }
    body[data-test-theme="3c"] main progress::-webkit-progress-value { transition: none; }
    body[data-test-theme="3c"] main progress::-moz-progress-bar { transition: none; }
}
