/* RUYA_PARENT_SURVEY_COMPACT_FINAL_V2_20260930 */
/* MOR / LILA KULLANILMAZ */

.ruyaParentSurveyPremium{
    padding-bottom:112px;
}

/* PAGE HEADER */

.ruyaParentSurveyIntro{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:18px 26px 24px;
}

.ruyaParentSurveyIntro h1{
    margin:0;
    color:#173879;
    font-size:27px;
    line-height:1.1;
    font-weight:700;
    letter-spacing:-.35px;
}

.ruyaParentSurveyIntro p{
    margin:5px 0 0;
    color:#929aac;
    font-size:14px;
    line-height:1.35;
    font-weight:400;
}

.ruyaParentSurveyIntro>span{
    width:58px;
    height:58px;
    border-radius:17px;
    display:grid;
    place-items:center;
    flex:0 0 58px;
    color:#25458e;
    background:#f3f6fb;
    border:1px solid #e2e7f0;
}

/* LIST */

.ruyaParentSurveyList{
    display:grid;
    gap:12px;
    padding:0 26px;
}

.ruyaParentSurveyCard{
    appearance:none;
    width:100%;
    min-height:102px;
    padding:14px 16px;
    border:1px solid #e3e7ee;
    border-radius:23px;
    background:#fff;
    box-shadow:0 6px 18px rgba(31,46,78,.05);
    display:grid;
    grid-template-columns:68px minmax(0,1fr) 18px;
    align-items:center;
    gap:14px;
    text-align:left;
    color:inherit;
    cursor:pointer;
    font:inherit;
}

.ruyaParentSurveyCard:active{
    transform:scale(.994);
}

.ruyaParentSurveyDate{
    width:68px;
    min-height:75px;
    border-radius:18px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(52,73,120,.07);
}

.ruyaParentSurveyDate strong{
    font-size:27px;
    line-height:1;
    font-weight:700;
}

.ruyaParentSurveyDate b{
    margin-top:6px;
    font-size:12px;
    line-height:1;
    font-weight:700;
}

.ruyaParentSurveyDate small{
    margin-top:6px;
    font-size:11px;
    font-weight:600;
}

.ruyaParentSurveyDate.tone1{
    background:#edf7f2;
    color:#377862;
}

.ruyaParentSurveyDate.tone2{
    background:#eef4fb;
    color:#4269a3;
}

.ruyaParentSurveyDate.tone3{
    background:#f8f3eb;
    color:#9a6a35;
}

.ruyaParentSurveyDate.tone4{
    background:#eef5f4;
    color:#48786f;
}

.ruyaParentSurveyCardBody{
    min-width:0;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

.ruyaParentSurveyCardBody>strong{
    margin-top:6px;
    color:#1c376d;
    font-size:15px;
    line-height:1.27;
    font-weight:650;
    text-transform:uppercase;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.ruyaParentSurveyCardBody>span{
    margin-top:7px;
    color:#939bad;
    font-size:12px;
    font-weight:500;
}

.ruyaParentSurveyStatus,
.ruyaParentSurveyPill{
    display:inline-flex;
    align-items:center;
    width:auto;
    min-height:26px;
    padding:0 10px;
    border-radius:999px;
    background:#eef3f8;
    color:#526d91;
    font-size:11px;
    font-weight:650;
}

.ruyaParentSurveyStatus.answered,
.ruyaParentSurveyPill.answered{
    background:#e9f6ef;
    color:#3d7961;
}

.ruyaParentSurveyArrow{
    color:#9ba5b6;
    font-size:24px;
    font-style:normal;
    font-weight:400;
}

/* PAST */

.ruyaParentSurveyPast{
    margin:26px 26px 0;
    border:1px solid #e5e8ef;
    border-radius:22px;
    background:#fafbfc;
    overflow:hidden;
}

.ruyaParentSurveyPastToggle{
    appearance:none;
    border:0;
    width:100%;
    min-height:78px;
    padding:16px 20px;
    background:transparent;
    display:flex;
    justify-content:space-between;
    align-items:center;
    text-align:left;
    font:inherit;
}

.ruyaParentSurveyPastToggle span{
    display:flex;
    flex-direction:column;
    gap:5px;
}

.ruyaParentSurveyPastToggle b{
    color:#263651;
    font-size:15px;
    font-weight:650;
}

.ruyaParentSurveyPastToggle small{
    color:#a0a7b4;
    font-size:12px;
    font-weight:500;
}

.ruyaParentSurveyPastToggle i{
    color:#929daf;
    font-size:24px;
    font-style:normal;
    transition:.2s ease;
}

.ruyaParentSurveyPastToggle i.open{
    transform:rotate(90deg);
}

.ruyaParentSurveyPast .ruyaParentSurveyList{
    padding:0 10px 12px;
}

/* EMPTY */

.ruyaParentSurveyEmpty,
.ruyaParentSurveyNoCurrent{
    margin:0 26px;
    padding:28px 22px;
    text-align:center;
    border:1px solid #e5e8ef;
    border-radius:22px;
    background:#fafbfc;
    color:#929bab;
}

/* MODAL BACKDROP */

.ruyaParentSurveyBack{
    position:fixed;
    inset:0;
    z-index:2147482000;
    background:rgba(25,36,56,.52);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    display:flex;
    align-items:flex-end;
    justify-content:center;
}

/* MODAL */

.ruyaParentSurveySheet{
    position:relative;
    width:100%;
    max-width:680px;
    max-height:88dvh;
    background:#fff;
    border-radius:30px 30px 0 0;
    box-shadow:0 -18px 55px rgba(19,29,48,.22);
    overflow:hidden;
    display:flex;
    flex-direction:column;
}

.ruyaParentSurveyHandle{
    width:58px;
    height:5px;
    border-radius:999px;
    background:#dfe3e9;
    margin:12px auto 0;
    flex:0 0 auto;
}

.ruyaParentSurveyClose{
    position:absolute;
    top:17px;
    right:18px;
    z-index:5;
    width:40px;
    height:40px;
    border:0;
    border-radius:50%;
    background:#f5f6f8;
    color:#58667e;
    font-size:24px;
    line-height:1;
    font-weight:400;
    cursor:pointer;
}

.ruyaParentSurveySheetScroll{
    overflow:auto;
    -webkit-overflow-scrolling:touch;
    padding:36px 24px 20px;
}

.ruyaParentSurveyPill{
    margin-bottom:12px;
}

/* TITLE - DAHA KUCUK VE DAHA INCE */

.ruyaParentSurveySheet h2{
    margin:0;
    padding-right:48px;
    color:#20365e;
    font-size:21px;
    line-height:1.22;
    font-weight:650;
    letter-spacing:-.25px;
    text-transform:none;
}

/* DATE */

.ruyaParentSurveyDeadline{
    display:flex;
    align-items:center;
    gap:9px;
    margin-top:14px;
    color:#7e899d;
    font-size:13.5px;
    line-height:1.3;
    font-weight:500;
}

.ruyaParentSurveyDeadline svg{
    color:#4d73ae;
    flex:0 0 auto;
}

.ruyaParentSurveyDivider{
    height:1px;
    background:#e9ebef;
    margin:18px 0;
}

/* DESCRIPTION */

.ruyaParentSurveyPreviewBox{
    padding:15px 16px 13px;
    border-radius:18px;
    background:#f6f8fa;
    border:1px solid #eef1f4;
}

.ruyaParentSurveyDescriptionPreview{
    margin:0;
    color:#687386;
    white-space:pre-wrap;
    font-size:13.5px;
    line-height:1.48;
    font-weight:400;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;

    mask-image:
        linear-gradient(
            to bottom,
            #000 62%,
            rgba(0,0,0,.3) 100%
        );

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            #000 62%,
            rgba(0,0,0,.3) 100%
        );
}

.ruyaParentSurveyDescriptionPreview.expanded{
    display:block;
    overflow:visible;
    mask-image:none;
    -webkit-mask-image:none;
}

.ruyaParentSurveyMore{
    appearance:none;
    border:0;
    background:transparent;
    padding:8px 0 0;
    color:#21477e;
    font:inherit;
    font-size:12.5px;
    font-weight:650;
    display:flex;
    align-items:center;
    gap:6px;
    cursor:pointer;
}

.ruyaParentSurveyMore span{
    font-size:17px;
    transition:transform .18s ease;
}

.ruyaParentSurveyMore span.open{
    transform:rotate(180deg);
}

.ruyaParentSurveyNoDescription{
    margin:0;
    color:#9ba4b2;
    font-size:13px;
    font-weight:400;
    font-style:italic;
}

/* ANSWER HEADER */

.ruyaParentSurveyAnswerHead{
    display:flex;
    flex-direction:column;
    gap:3px;
    margin:20px 0 11px;
}

.ruyaParentSurveyAnswerHead b{
    color:#213c6b;
    font-size:16px;
    line-height:1.2;
    font-weight:650;
}

.ruyaParentSurveyAnswerHead small{
    color:#9aa2ae;
    font-size:12px;
    line-height:1.3;
    font-weight:400;
}

/* TWO-COLUMN ANSWERS */

.ruyaParentSurveyOptions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
}

.ruyaParentSurveyOptions label{
    min-height:58px;
    padding:11px 12px;
    border:1.5px solid #dfe5eb;
    border-radius:17px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:10px;
    background:#fff;
    color:#28436d;
    cursor:pointer;
    min-width:0;
}

/* MOR / LILA YOK */

.ruyaParentSurveyOptions label.selected{
    border-color:#3a7db7;
    background:#eef6fb;
}

.ruyaParentSurveyOptions input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}

.ruyaParentSurveyRadio{
    width:21px;
    height:21px;
    border-radius:50%;
    border:2px solid #c5cdd8;
    flex:0 0 21px;
    position:relative;
}

.ruyaParentSurveyOptions label.selected
.ruyaParentSurveyRadio{
    border-color:#3187c1;
}

.ruyaParentSurveyOptions label.selected
.ruyaParentSurveyRadio:after{
    content:"";
    position:absolute;
    inset:4px;
    border-radius:50%;
    background:#3187c1;
}

.ruyaParentSurveyOptions b{
    min-width:0;
    font-size:13px;
    line-height:1.18;
    font-weight:600;
    white-space:normal;
}

.ruyaParentSurveyCurrent{
    margin-top:11px;
    color:#768178;
    font-size:11.5px;
    font-weight:400;
}

.ruyaParentSurveyCurrent b{
    color:#39765f;
    font-weight:650;
}

/* FOOTER CTA */

.ruyaParentSurveyFooter{
    flex:0 0 auto;
    padding:
        11px 24px
        calc(14px + env(safe-area-inset-bottom));
    border-top:1px solid #eceef2;
    background:rgba(255,255,255,.98);
}

.ruyaParentSurveyFooter button{
    appearance:none;
    border:0;
    width:100%;
    min-height:52px;
    border-radius:17px;
    background:#23498b;
    color:#fff;
    font:inherit;
    font-size:14px;
    font-weight:650;
    box-shadow:0 7px 17px rgba(35,73,139,.17);
    cursor:pointer;
}

.ruyaParentSurveyFooter button:disabled{
    opacity:.4;
}

/* SUCCESS */

.ruyaParentSurveySuccessBack{
    position:fixed;
    inset:0;
    z-index:2147483000;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
    background:rgba(28,39,59,.5);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
}

.ruyaParentSurveySuccess{
    position:relative;
    width:min(100%,520px);
    padding:48px 28px 26px;
    border-radius:27px;
    background:#fff;
    text-align:center;
    box-shadow:0 28px 65px rgba(27,37,58,.28);
}

.ruyaParentSurveySuccessIcon{
    position:absolute;
    top:-44px;
    left:50%;
    transform:translateX(-50%);
    width:88px;
    height:88px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#dff4e7;
    color:#54ae73;
    border:9px solid #fff;
    box-shadow:0 10px 28px rgba(70,171,111,.14);
    font-size:43px;
    font-weight:400;
}

.ruyaParentSurveySuccessClose{
    position:absolute;
    top:15px;
    right:15px;
    width:38px;
    height:38px;
    border:0;
    border-radius:50%;
    background:#f5f6f8;
    color:#647086;
    font-size:19px;
    cursor:pointer;
}

.ruyaParentSurveySuccess h3{
    margin:8px 0 12px;
    color:#1d315a;
    font-size:22px;
    line-height:1.15;
    font-weight:700;
}

.ruyaParentSurveySuccess p{
    margin:0 auto;
    max-width:390px;
    color:#5c687b;
    font-size:14px;
    line-height:1.45;
    font-weight:450;
}

.ruyaParentSurveySuccessAnswer{
    margin:18px 0;
    padding:11px 15px;
    border-radius:14px;
    background:#f4f7f8;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:6px;
}

.ruyaParentSurveySuccessAnswer small{
    color:#9199a7;
    font-size:11.5px;
}

.ruyaParentSurveySuccessAnswer b{
    color:#39765f;
    font-size:12.5px;
    font-weight:650;
}

.ruyaParentSurveySuccessOk{
    appearance:none;
    border:0;
    width:100%;
    min-height:50px;
    border-radius:16px;
    background:#59b979;
    color:#fff;
    font:inherit;
    font-size:14px;
    font-weight:650;
    box-shadow:0 8px 18px rgba(66,179,104,.2);
    cursor:pointer;
}

@media(max-width:390px){

    .ruyaParentSurveySheetScroll{
        padding-left:20px;
        padding-right:20px;
    }

    .ruyaParentSurveySheet h2{
        font-size:19px;
    }

    .ruyaParentSurveyOptions{
        gap:8px;
    }

    .ruyaParentSurveyOptions label{
        padding-left:10px;
        padding-right:10px;
    }

    .ruyaParentSurveyOptions b{
        font-size:12px;
    }
}

/* RUYA_PARENT_SURVEY_CENTERED_MODAL_FIX_V1_20260930 */

.ruyaParentSurveyBack{
    align-items:center !important;
    justify-content:center !important;
    padding:20px !important;
}

.ruyaParentSurveySheet{
    width:min(100%,560px) !important;
    max-width:560px !important;
    max-height:min(78vh,760px) !important;
    border-radius:28px !important;
    margin:0 auto !important;
    box-shadow:0 26px 70px rgba(19,29,48,.26) !important;
}

.ruyaParentSurveyHandle{
    margin-top:11px !important;
    margin-bottom:2px !important;
}

.ruyaParentSurveyClose{
    top:14px !important;
    right:14px !important;
    width:38px !important;
    height:38px !important;
    font-size:22px !important;
}

.ruyaParentSurveySheetScroll{
    padding:28px 20px 14px !important;
    overflow:auto !important;
    flex:1 1 auto !important;
    min-height:0 !important;
}

.ruyaParentSurveyPill{
    margin-bottom:10px !important;
}

.ruyaParentSurveySheet h2{
    font-size:19px !important;
    line-height:1.2 !important;
    padding-right:42px !important;
    margin-bottom:0 !important;
}

.ruyaParentSurveyDeadline{
    margin-top:12px !important;
    font-size:13px !important;
}

.ruyaParentSurveyDivider{
    margin:16px 0 !important;
}

.ruyaParentSurveyPreviewBox{
    padding:13px 14px 11px !important;
    border-radius:16px !important;
}

.ruyaParentSurveyDescriptionPreview{
    font-size:13px !important;
    line-height:1.42 !important;
    -webkit-line-clamp:2 !important;
}

.ruyaParentSurveyMore{
    font-size:12px !important;
    padding-top:7px !important;
}

.ruyaParentSurveyAnswerHead{
    margin:16px 0 10px !important;
}

.ruyaParentSurveyAnswerHead b{
    font-size:15px !important;
}

.ruyaParentSurveyAnswerHead small{
    font-size:11.5px !important;
}

.ruyaParentSurveyOptions{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:9px !important;
}

.ruyaParentSurveyOptions label{
    min-height:54px !important;
    padding:10px 10px !important;
    border-radius:16px !important;
    gap:9px !important;
}

.ruyaParentSurveyRadio{
    width:20px !important;
    height:20px !important;
    flex:0 0 20px !important;
}

.ruyaParentSurveyOptions label.selected .ruyaParentSurveyRadio:after{
    inset:4px !important;
}

.ruyaParentSurveyOptions b{
    font-size:12px !important;
    line-height:1.15 !important;
}

.ruyaParentSurveyCurrent{
    margin-top:10px !important;
    font-size:11px !important;
}

.ruyaParentSurveyFooter{
    position:sticky !important;
    bottom:0 !important;
    z-index:3 !important;
    flex:0 0 auto !important;
    padding:10px 20px 16px !important;
    background:rgba(255,255,255,.98) !important;
    border-top:1px solid #eceef2 !important;
}

.ruyaParentSurveyFooter button{
    min-height:48px !important;
    border-radius:15px !important;
    font-size:14px !important;
    font-weight:650 !important;
}

@media(max-width:560px){
    .ruyaParentSurveyBack{
        padding:14px !important;
    }

    .ruyaParentSurveySheet{
        width:100% !important;
        max-width:none !important;
        max-height:min(76vh,700px) !important;
        border-radius:24px !important;
    }

    .ruyaParentSurveySheetScroll{
        padding:24px 18px 12px !important;
    }

    .ruyaParentSurveySheet h2{
        font-size:18px !important;
    }

    .ruyaParentSurveyOptions{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }

    .ruyaParentSurveyOptions b{
        font-size:11.5px !important;
    }

    .ruyaParentSurveyFooter{
        padding:10px 18px 14px !important;
    }
}

/* RUYA_PARENT_SURVEY_DETAIL_SCROLL_FINAL_V1_20260930 */

/* Modal her durumda diğer tüm parent UI elemanlarının üstünde */
.ruyaParentSurveyBack{
    z-index:2147483646 !important;
}

/* Modal açılınca boyu sabit ve kompakt kalsın */
.ruyaParentSurveySheet{
    max-height:68dvh !important;
}

/* Ana içerik gerektiğinde kendi içinde kayar */
.ruyaParentSurveySheetScroll{
    flex:1 1 auto !important;
    min-height:0 !important;
    overflow-y:auto !important;
    overscroll-behavior:contain !important;
}

/* Detay açılınca modal büyümesin.
   Sadece açıklama alanı kendi içinde scroll olsun. */
.ruyaParentSurveyDescriptionPreview.expanded{
    display:block !important;
    max-height:220px !important;
    overflow-y:auto !important;
    overscroll-behavior:contain !important;
    padding-right:6px !important;
    -webkit-overflow-scrolling:touch !important;
    mask-image:none !important;
    -webkit-mask-image:none !important;
}

/* Detay scroll barı sade */
.ruyaParentSurveyDescriptionPreview.expanded::-webkit-scrollbar{
    width:3px;
}

.ruyaParentSurveyDescriptionPreview.expanded::-webkit-scrollbar-thumb{
    background:#cbd4df;
    border-radius:999px;
}

/* Alt aksiyon her zaman modalın içinde görünür */
.ruyaParentSurveyFooter{
    position:relative !important;
    bottom:auto !important;
    flex:0 0 auto !important;
    z-index:10 !important;
    background:#fff !important;
    box-shadow:0 -8px 20px rgba(29,46,76,.05) !important;
}

/* Başarı modalı en üstte */
.ruyaParentSurveySuccessBack{
    z-index:2147483647 !important;
}

@media(max-width:560px){

    .ruyaParentSurveySheet{
        max-height:68dvh !important;
    }

    .ruyaParentSurveyDescriptionPreview.expanded{
        max-height:190px !important;
    }
}

/* RUYA_PARENT_SURVEY_TALL_ANSWER_VISIBLE_V1_20260930 */

/* Biraz daha yukari + asagi alan kazan */
.ruyaParentSurveySheet{
    max-height:82dvh !important;
}

/* Icerik alani kontrollu */
.ruyaParentSurveySheetScroll{
    flex:1 1 auto !important;
    min-height:0 !important;
    overflow-y:auto !important;
    overscroll-behavior:contain !important;
}

/* Uzun detay tum modalı itmesin */
.ruyaParentSurveyDescriptionPreview.expanded{
    max-height:150px !important;
    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch !important;
    overscroll-behavior:contain !important;
}

/* Secili cevap zaten gorunuyor:
   tekrar eden 'Mevcut yanitiniz' satirini kaldir */
.ruyaParentSurveyCurrent{
    display:none !important;
}

/* Cevap alani biraz daha kompakt */
.ruyaParentSurveyAnswerHead{
    margin-top:15px !important;
    margin-bottom:9px !important;
}

.ruyaParentSurveyOptions label{
    min-height:52px !important;
}

/* CTA daima modal icinde */
.ruyaParentSurveyFooter{
    position:relative !important;
    flex:0 0 auto !important;
    z-index:20 !important;
    background:#fff !important;
}

/* Mobilde de ayni yukseklik */
@media(max-width:560px){

    .ruyaParentSurveySheet{
        max-height:82dvh !important;
    }

    .ruyaParentSurveyDescriptionPreview.expanded{
        max-height:145px !important;
    }
}
