/* RUYA_SURVEY_ADMIN_V9_CSS_20261008 */

.ruyaSurveyV9{
  --sv-navy:#183b82;
  --sv-navy-dark:#102d68;
  --sv-line:#dfe7f2;
  --sv-soft:#f7f9fc;
  --sv-text:#142951;
  --sv-muted:#7b8aa6;
  --sv-green:#18a665;
  --sv-green-soft:#e8f8ef;
  --sv-amber:#b77912;
  --sv-amber-soft:#fff6e4;
  --sv-red:#d94d58;
  --sv-red-soft:#fff1f2;
  color:var(--sv-text);
}

.ruyaSurveyV9Hero{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  padding:6px 2px 22px;
  border-bottom:1px solid var(--sv-line);
}

.ruyaSurveyV9HeroText small{
  display:block;
  margin-bottom:6px;
  color:#7d8ca7;
  font-size:11px;
  font-weight:800;
  letter-spacing:.13em;
}

.ruyaSurveyV9HeroText h2{
  margin:0;
  color:#132c61;
  font-size:30px;
  line-height:1.08;
  font-weight:700;
}

.ruyaSurveyV9HeroText p{
  margin:8px 0 0;
  color:var(--sv-muted);
  font-size:13px;
  line-height:1.45;
}

.ruyaSurveyV9New{
  min-height:48px;
  padding:0 22px;
  border:0;
  border-radius:15px;
  background:var(--sv-navy);
  color:#fff;
  font-weight:700;
  box-shadow:0 10px 26px rgba(24,59,130,.16);
  cursor:pointer;
}

.ruyaSurveyV9Controls{
  margin-top:16px;
  padding:14px;
  border:1px solid var(--sv-line);
  border-radius:18px;
  background:#fff;
}

.ruyaSurveyV9Tabs{
  display:flex;
  gap:8px;
  overflow-x:auto;
  scrollbar-width:none;
}

.ruyaSurveyV9Tabs::-webkit-scrollbar{
  display:none;
}

.ruyaSurveyV9Tabs button{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:10px;
  min-height:40px;
  padding:0 15px;
  border:1px solid var(--sv-line);
  border-radius:12px;
  background:#fff;
  color:#3d5277;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}

.ruyaSurveyV9Tabs button b{
  min-width:24px;
  height:24px;
  padding:0 7px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#eef2f8;
  color:#526685;
  font-size:11px;
}

.ruyaSurveyV9Tabs button.active{
  border-color:var(--sv-navy);
  background:var(--sv-navy);
  color:#fff;
  box-shadow:0 7px 18px rgba(24,59,130,.13);
}

.ruyaSurveyV9Tabs button.active b{
  background:#fff;
  color:var(--sv-navy);
}

.ruyaSurveyV9FilterGrid{
  display:grid;
  grid-template-columns:220px minmax(280px,1fr) 190px;
  gap:10px;
  margin-top:12px;
}

.ruyaSurveyV9Select,
.ruyaSurveyV9Search{
  min-height:43px;
  display:flex;
  align-items:center;
  gap:9px;
  padding:0 13px;
  border:1px solid var(--sv-line);
  border-radius:12px;
  background:#fff;
}

.ruyaSurveyV9Select>span,
.ruyaSurveyV9Search>span{
  color:#667a9b;
  font-size:18px;
}

.ruyaSurveyV9Select select,
.ruyaSurveyV9Search input{
  width:100%;
  height:40px;
  border:0;
  outline:0;
  background:transparent;
  color:#334a70;
  font:inherit;
  font-size:12px;
}

.ruyaSurveyV9Stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-top:14px;
}

.ruyaSurveyV9Stat{
  min-height:102px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:15px;
  border:1px solid var(--sv-line);
  border-radius:17px;
  background:#fff;
}

.ruyaSurveyV9StatIcon{
  width:44px;
  height:44px;
  flex:0 0 44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:13px;
  background:#eef4ff;
  color:#2e63be;
  font-size:20px;
  font-weight:800;
}

.ruyaSurveyV9Stat.active .ruyaSurveyV9StatIcon{
  background:#e7f8ef;
  color:#15985e;
}

.ruyaSurveyV9Stat.pending .ruyaSurveyV9StatIcon{
  background:#fff4df;
  color:#b8730d;
}

.ruyaSurveyV9Stat small,
.ruyaSurveyV9Stat span,
.ruyaSurveyV9Stat b{
  display:block;
}

.ruyaSurveyV9Stat small{
  color:#566b8c;
  font-size:11px;
  font-weight:700;
}

.ruyaSurveyV9Stat b{
  margin:2px 0;
  color:#17346f;
  font-size:24px;
  line-height:1;
}

.ruyaSurveyV9Stat span{
  color:#8b98ae;
  font-size:10px;
}

.ruyaSurveyV9Sections{
  display:grid;
  gap:14px;
  margin-top:14px;
}

.ruyaSurveyV9Section{
  padding:14px;
  border:1px solid var(--sv-line);
  border-radius:18px;
  background:#fff;
}

.ruyaSurveyV9Section.expired{
  background:#fcfcfd;
}

.ruyaSurveyV9SectionHead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:2px 4px 12px;
}

.ruyaSurveyV9SectionHead h3{
  margin:0;
  color:#19376f;
  font-size:17px;
}

.ruyaSurveyV9SectionHead p{
  margin:3px 0 0;
  color:#8896ab;
  font-size:11px;
}

.ruyaSurveyV9SectionHead>span{
  flex:0 0 auto;
  padding:6px 9px;
  border-radius:999px;
  background:#f2f5f9;
  color:#6d7d96;
  font-size:10px;
  font-weight:700;
}

.ruyaSurveyV9List{
  display:grid;
  gap:10px;
}

.ruyaSurveyV9Card{
  position:relative;
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  gap:13px;
  padding:14px;
  border:1px solid #e2e9f3;
  border-radius:16px;
  background:#fff;
  transition:.15s ease;
}

.ruyaSurveyV9Card:hover{
  border-color:#ccd8ea;
  box-shadow:0 10px 28px rgba(22,48,93,.055);
}

.ruyaSurveyV9CardIcon{
  width:48px;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:#e6f8ee;
  color:var(--sv-green);
  font-size:20px;
  font-weight:800;
}

.ruyaSurveyV9CardIcon.expired{
  background:var(--sv-amber-soft);
  color:var(--sv-amber);
}

.ruyaSurveyV9CardIcon.withdrawn{
  background:#f2f4f7;
  color:#7d8798;
}

.ruyaSurveyV9CardTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.ruyaSurveyV9Status{
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:0 10px;
  border-radius:999px;
  background:var(--sv-green-soft);
  color:#118553;
  font-size:10px;
  font-weight:800;
}

.ruyaSurveyV9Status.expired{
  background:var(--sv-amber-soft);
  color:#a6630a;
}

.ruyaSurveyV9Status.withdrawn{
  background:#eef1f5;
  color:#6b7485;
}

.ruyaSurveyV9ClassPill{
  max-width:45%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  padding:6px 10px;
  border:1px solid var(--sv-line);
  border-radius:999px;
  color:#4b6082;
  background:#fafbfd;
  font-size:10px;
  font-weight:700;
}

.ruyaSurveyV9Card h3{
  margin:8px 0 4px;
  color:#16336c;
  font-size:15px;
  font-weight:700;
}

.ruyaSurveyV9Description{
  margin:0;
  color:#6f7f9a;
  font-size:11.5px;
  line-height:1.45;
}

.ruyaSurveyV9Meta{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:10px;
  color:#71819d;
  font-size:10.5px;
}

.ruyaSurveyV9Meta>span{
  white-space:nowrap;
}

.ruyaSurveyV9Progress{
  width:110px;
  height:6px;
  overflow:hidden;
  border-radius:99px;
  background:#e7ecf3;
}

.ruyaSurveyV9Progress i{
  height:100%;
  display:block;
  border-radius:inherit;
  background:#20b36e;
}

.ruyaSurveyV9Card.expired .ruyaSurveyV9Progress i,
.ruyaSurveyV9Card.withdrawn .ruyaSurveyV9Progress i{
  background:var(--sv-navy);
}

.ruyaSurveyV9Rate{
  color:#657693;
  font-size:10.5px;
}

.ruyaSurveyV9Actions{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
  margin-top:12px;
  padding-top:11px;
  border-top:1px solid #eef2f6;
}

.ruyaSurveyV9Actions>button,
.ruyaSurveyV9Actions .ruyaContentReceiptButton{
  min-height:36px;
  padding:0 12px;
  border:1px solid var(--sv-line);
  border-radius:10px;
  background:#fff;
  color:#405675;
  font-size:10.5px;
  font-weight:700;
  cursor:pointer;
}

.ruyaSurveyV9Actions>button.primary{
  border-color:var(--sv-navy);
  background:var(--sv-navy);
  color:#fff;
}

.ruyaSurveyV9Actions>button.warning{
  border-color:#efd49a;
  background:#fff9ed;
  color:#99600a;
}

.ruyaSurveyV9Actions>button.success{
  border-color:#bfe8d1;
  background:#effaf4;
  color:#168756;
}

.ruyaSurveyV9Actions>button.danger{
  border-color:#f1c9cf;
  color:#c94854;
}

.ruyaSurveyMobileMore{
  display:none;
}

.ruyaSurveyV9Empty{
  margin-top:14px;
  padding:30px;
  border:1px dashed #dce4ee;
  border-radius:16px;
  color:#7e8da5;
  text-align:center;
  background:#fafbfd;
  font-size:12px;
}

.ruyaSurveyV9ReopenInfo{
  margin:-4px 0 14px;
  padding:10px 12px;
  border-radius:11px;
  background:#fff7e7;
  color:#8b5a10;
  font-size:11px;
  line-height:1.4;
}

@media(max-width:780px){

  .ruyaSurveyV9{
    padding-left:12px!important;
    padding-right:12px!important;
    padding-bottom:92px!important;
  }

  .ruyaSurveyV9Hero{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px;
    padding:8px 2px 16px;
  }

  .ruyaSurveyV9HeroText h2{
    font-size:29px;
  }

  .ruyaSurveyV9HeroText p{
    grid-column:1/-1;
    max-width:100%;
    font-size:12px;
  }

  .ruyaSurveyV9New{
    min-height:44px;
    padding:0 16px;
    align-self:center;
    border-radius:13px;
    white-space:nowrap;
  }

  .ruyaSurveyV9Controls{
    margin-top:12px;
    padding:11px;
    border-radius:16px;
  }

  .ruyaSurveyV9Tabs{
    gap:7px;
  }

  .ruyaSurveyV9Tabs button{
    min-height:39px;
    padding:0 13px;
  }

  .ruyaSurveyV9FilterGrid{
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin-top:9px;
  }

  .ruyaSurveyV9Select,
  .ruyaSurveyV9Search{
    min-width:0;
    min-height:44px;
    padding:0 10px;
  }

  .ruyaSurveyV9Sort{
    grid-column:1/-1;
  }

  .ruyaSurveyV9Stats{
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin-top:10px;
  }

  .ruyaSurveyV9Stat{
    min-height:82px;
    padding:11px;
    gap:9px;
    border-radius:14px;
  }

  .ruyaSurveyV9StatIcon{
    width:36px;
    height:36px;
    flex-basis:36px;
    border-radius:11px;
    font-size:17px;
  }

  .ruyaSurveyV9Stat b{
    font-size:19px;
  }

  .ruyaSurveyV9Stat span{
    display:none;
  }

  .ruyaSurveyV9Sections{
    margin-top:10px;
    gap:10px;
  }

  .ruyaSurveyV9Section{
    padding:10px;
    border-radius:16px;
  }

  .ruyaSurveyV9SectionHead{
    padding:2px 2px 9px;
  }

  .ruyaSurveyV9SectionHead h3{
    font-size:15px;
  }

  .ruyaSurveyV9SectionHead p{
    font-size:10px;
  }

  .ruyaSurveyV9Card{
    grid-template-columns:42px minmax(0,1fr);
    gap:10px;
    padding:12px;
    border-radius:15px;
  }

  .ruyaSurveyV9CardIcon{
    width:42px;
    height:42px;
    border-radius:12px;
    font-size:17px;
  }

  .ruyaSurveyV9CardTop{
    gap:7px;
  }

  .ruyaSurveyV9ClassPill{
    max-width:52%;
    padding:5px 8px;
    font-size:9px;
  }

  .ruyaSurveyV9Card h3{
    margin-top:7px;
    font-size:14px;
  }

  .ruyaSurveyV9Description{
    display:-webkit-box;
    overflow:hidden;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    font-size:11px;
  }

  .ruyaSurveyV9Meta{
    grid-column:1/-1;
    display:grid;
    grid-template-columns:auto 1fr auto;
    gap:7px;
    margin-left:-52px;
    padding-left:52px;
    font-size:9.5px;
  }

  .ruyaSurveyV9Meta>span:first-child{
    grid-column:1/-1;
  }

  .ruyaSurveyV9Progress{
    width:100%;
    min-width:70px;
  }

  .ruyaSurveyV9Actions{
    grid-column:1/-1;
    display:grid;
    grid-template-columns:
      minmax(0,1fr)
      minmax(0,1.25fr)
      minmax(0,1fr)
      42px;
    gap:6px;
    margin-left:-52px;
    padding-left:52px;
  }

  .ruyaSurveyV9Actions>button,
  .ruyaSurveyV9Actions .ruyaContentReceiptButton{
    width:100%;
    min-width:0;
    min-height:38px;
    padding:0 7px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:9.5px;
  }

  .ruyaSurveyDesktopOnly{
    display:none!important;
  }

  .ruyaSurveyMobileMore{
    position:relative;
    display:block;
  }

  .ruyaSurveyMobileMore summary{
    width:42px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid var(--sv-line);
    border-radius:10px;
    background:#fff;
    color:#213d72;
    font-weight:800;
    list-style:none;
    cursor:pointer;
  }

  .ruyaSurveyMobileMore summary::-webkit-details-marker{
    display:none;
  }

  .ruyaSurveyMobileMoreMenu{
    position:absolute;
    right:0;
    bottom:calc(100% + 7px);
    z-index:40;
    width:175px;
    padding:6px;
    border:1px solid var(--sv-line);
    border-radius:12px;
    background:#fff;
    box-shadow:0 15px 34px rgba(19,45,91,.16);
  }

  .ruyaSurveyMobileMoreMenu button{
    width:100%;
    min-height:39px;
    border:0;
    border-radius:8px;
    background:#fff;
    color:#304969;
    text-align:left;
    padding:0 10px;
    font-size:11px;
    font-weight:700;
  }

  .ruyaSurveyMobileMoreMenu button.danger{
    color:#c64753;
  }

  .ruya-r784-surveyModal{
    width:calc(100vw - 24px)!important;
    max-height:calc(100dvh - 34px)!important;
    overflow:auto!important;
  }
}

@media(min-width:781px){
  .ruyaSurveyV9CardContent{
    min-width:0;
  }
}


/* RUYA_SURVEY_ADMIN_V10_REFERENCE_20261009 */

/* =========================================================
   DESKTOP — ONAYLANAN REFERANS YERLESIMI
   ========================================================= */

@media (min-width:781px){

  /* Başlık alanı sade */
  .ruyaSurveyV9Hero{
    position:relative;
    padding-top:4px;
    padding-bottom:20px;
  }

  .ruyaSurveyV9HeroText h2{
    font-size:29px;
    letter-spacing:-.02em;
  }

  .ruyaSurveyV9HeroText p{
    max-width:720px;
  }

  /*
    Yeni Anket butonunu referanstaki gibi
    filtre çubuğunun sağ tarafına indir.
  */
  .ruyaSurveyV9Hero .ruyaSurveyV9New{
    position:absolute;
    right:12px;
    top:calc(100% + 30px);
    z-index:12;
    min-width:132px;
    height:44px;
    min-height:44px;
    padding:0 18px;
    border-radius:12px;
  }

  /* Referanstaki tek satırlık üst kontrol barı */
  .ruyaSurveyV9Controls{
    position:relative;
    display:grid;
    grid-template-columns:minmax(320px,1fr) auto;
    align-items:center;
    gap:18px;
    min-height:68px;
    margin-top:14px;
    padding:11px 168px 11px 12px;
    border-radius:16px;
  }

  /*
    Mobil için gerekli class/sort alanları DOM'da kalıyor.
    Desktop'ta referans gibi sadece arama + durum sekmeleri.
  */
  .ruyaSurveyV9FilterGrid{
    display:contents;
  }

  .ruyaSurveyV9FilterGrid .ruyaSurveyV9Select{
    display:none;
  }

  .ruyaSurveyV9FilterGrid .ruyaSurveyV9Search{
    display:flex;
    grid-column:1;
    grid-row:1;
    width:100%;
    min-width:0;
    height:42px;
    min-height:42px;
    border-radius:11px;
  }

  .ruyaSurveyV9Tabs{
    grid-column:2;
    grid-row:1;
    justify-content:flex-end;
    gap:7px;
    overflow:visible;
  }

  .ruyaSurveyV9Tabs button{
    min-height:40px;
    height:40px;
    padding:0 14px;
    border-radius:10px;
    font-size:11px;
  }

  .ruyaSurveyV9Tabs button b{
    min-width:22px;
    height:22px;
    padding:0 6px;
  }

  /* KPI kartları */
  .ruyaSurveyV9Stats{
    gap:12px;
    margin-top:14px;
  }

  .ruyaSurveyV9Stat{
    min-height:94px;
    padding:14px 16px;
    border-radius:16px;
  }

  .ruyaSurveyV9StatIcon{
    width:46px;
    height:46px;
    flex-basis:46px;
  }

  .ruyaSurveyV9Stat b{
    font-size:23px;
  }

  /* Bölüm yapısı */
  .ruyaSurveyV9Sections{
    gap:14px;
    margin-top:14px;
  }

  .ruyaSurveyV9Section{
    padding:12px;
    border-radius:17px;
  }

  .ruyaSurveyV9SectionHead{
    min-height:52px;
    align-items:center;
    padding:2px 6px 11px;
  }

  .ruyaSurveyV9SectionHead h3{
    font-size:17px;
    font-weight:700;
  }

  .ruyaSurveyV9SectionHead p{
    margin-top:3px;
    font-size:10.5px;
  }

  /* Referansta sağdaki "x anket" rozeti yok */
  .ruyaSurveyV9SectionHead > span{
    display:none;
  }

  /* Geçmiş alanı daha ikincil */
  .ruyaSurveyV9Section.expired{
    background:#fbfcfe;
    border-color:#e4e9f1;
  }

  /* =========================================================
     DESKTOP SURVEY CARD
     ========================================================= */

  .ruyaSurveyV9Card{
    display:block;
    padding:12px 14px;
    border-radius:14px;
    box-shadow:none;
  }

  /* Referansta kart başında ekstra büyük ikon yok */
  .ruyaSurveyV9CardIcon{
    display:none;
  }

  .ruyaSurveyV9CardContent{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-rows:auto auto auto auto;
    column-gap:18px;
    min-width:0;
  }

  .ruyaSurveyV9CardTop{
    grid-column:1/-1;
    grid-row:1;
    min-height:25px;
  }

  .ruyaSurveyV9Card h3{
    grid-column:1/-1;
    grid-row:2;
    margin:6px 0 3px;
    font-size:14px;
    line-height:1.25;
  }

  .ruyaSurveyV9Description{
    grid-column:1/-1;
    grid-row:3;
    display:-webkit-box;
    overflow:hidden;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    max-width:920px;
    margin:0;
    font-size:10.5px;
    line-height:1.42;
  }

  .ruyaSurveyV9Status{
    min-height:23px;
    padding:0 9px;
    font-size:9.5px;
  }

  .ruyaSurveyV9ClassPill{
    max-width:260px;
    padding:5px 10px;
    font-size:9.5px;
  }

  /*
    Meta solda, aksiyonlar sağda aynı satır:
    referanstaki en önemli farklardan biri.
  */
  .ruyaSurveyV9Meta{
    grid-column:1;
    grid-row:4;
    align-self:center;
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
    margin-top:9px;
    font-size:9.5px;
  }

  .ruyaSurveyV9Meta>span{
    white-space:nowrap;
  }

  .ruyaSurveyV9Progress{
    width:105px;
    height:5px;
  }

  .ruyaSurveyV9Rate{
    font-size:9.5px;
  }

  .ruyaSurveyV9Actions{
    grid-column:2;
    grid-row:4;
    align-self:end;
    justify-content:flex-end;
    flex-wrap:nowrap;
    gap:6px;
    margin:8px 0 0;
    padding:0;
    border-top:0;
  }

  .ruyaSurveyV9Actions>button,
  .ruyaSurveyV9Actions .ruyaContentReceiptButton{
    width:auto;
    min-width:auto;
    min-height:34px;
    height:34px;
    padding:0 11px;
    border-radius:9px;
    font-size:9.5px;
    white-space:nowrap;
  }

  .ruyaSurveyV9Actions>button.primary{
    min-width:126px;
  }

  /* Süresi dolan kartı biraz daha yumuşak */
  .ruyaSurveyV9Card.expired{
    background:#fcfcfd;
  }
}


/* =========================================================
   MOBIL — ONAYLANAN MOBIL REFERANSI KORU
   ========================================================= */

@media (max-width:780px){

  .ruyaSurveyV9Hero .ruyaSurveyV9New{
    position:static;
  }

  /*
    Mobilde Takvim sayfasındaki mantık:
    durumlar + sınıf + arama + sıralama.
  */
  .ruyaSurveyV9Controls{
    display:block;
  }

  .ruyaSurveyV9FilterGrid{
    display:grid;
  }

  .ruyaSurveyV9FilterGrid .ruyaSurveyV9Select{
    display:flex;
  }

  .ruyaSurveyV9FilterGrid .ruyaSurveyV9Search{
    display:flex;
  }

  /* Mobilde kart ikonu devam */
  .ruyaSurveyV9CardIcon{
    display:flex;
  }

  .ruyaSurveyV9CardContent{
    display:block;
  }

  .ruyaSurveyV9Description{
    -webkit-line-clamp:2;
  }

  .ruyaSurveyV9SectionHead>span{
    display:inline-flex;
  }
}



/* RUYA_SURVEY_ADMIN_V12_FINAL_UX_20261009 */

/* ---------------------------------------------------------
   BOLUM BASLIKLARI — KISA RENKLI LABEL
   --------------------------------------------------------- */

.ruyaSurveyV9SectionHead > div:first-child{
  min-width:0;
}

.ruyaSurveyV9SectionHead h3{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  min-height:32px;
  margin:0;
  padding:0 13px;
  border-radius:9px;
  color:#fff;
  line-height:1.2;
}

/* AKTIF */
.ruyaSurveyV9Section.active .ruyaSurveyV9SectionHead h3{
  background:#2da56a;
  color:#fff;
}

/* GECMIS */
.ruyaSurveyV9Section.expired .ruyaSurveyV9SectionHead h3{
  background:#d79a43;
  color:#fff;
}

/* YAYINDAN KALDIRILAN */
.ruyaSurveyV9Section.withdrawn .ruyaSurveyV9SectionHead h3{
  background:#8490a2;
  color:#fff;
}

.ruyaSurveyV9SectionHead p{
  margin-left:2px;
  margin-top:6px;
}


/* ---------------------------------------------------------
   GECMIS ANKETLER — TUMUNU GOR / DARALT
   --------------------------------------------------------- */

.ruyaSurveyV12PastToggle{
  flex:0 0 auto;
  min-height:34px;
  padding:0 13px;
  border:1px solid #e1e7ef;
  border-radius:10px;
  background:#fff;
  color:#526782;
  font-size:10px;
  font-weight:700;
  cursor:pointer;
  transition:.15s ease;
}

.ruyaSurveyV12PastToggle:hover{
  border-color:#ccd6e4;
  background:#f7f9fc;
}


/* ---------------------------------------------------------
   YENI ANKET — DESKTOP HIZALAMA
   --------------------------------------------------------- */

@media (min-width:781px){

  /*
    Kontrol kutusu yaklaşık 68px.
    Butonu kontrol çubuğunun dikey merkezine indiriyoruz.
  */
  .ruyaSurveyV9Hero .ruyaSurveyV9New{
    top:calc(100% + 41px);
    transform:translateY(-50%);
    height:42px;
    min-height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .ruyaSurveyV9Controls{
    min-height:68px;
  }

  .ruyaSurveyV9SectionHead{
    align-items:flex-start;
    padding-top:5px;
  }
}


/* ---------------------------------------------------------
   MOBIL
   --------------------------------------------------------- */

@media (max-width:780px){

  .ruyaSurveyV9SectionHead{
    align-items:flex-start;
  }

  .ruyaSurveyV9SectionHead h3{
    min-height:30px;
    padding:0 11px;
    border-radius:8px;
    font-size:13px;
  }

  .ruyaSurveyV12PastToggle{
    min-height:31px;
    padding:0 10px;
    font-size:9px;
  }

  .ruyaSurveyV9Hero .ruyaSurveyV9New{
    transform:none;
  }
}


/* RUYA_SURVEY_BUTTON_ALIGN_FILTER_COLORS_V15_20261009 */

/* =========================================================
   YENI ANKET BUTONU HIZALAMA
   ========================================================= */

@media (min-width:781px){

  .ruyaSurveyV9Hero .ruyaSurveyV9New{
    top:calc(100% + 48px) !important;
    transform:translateY(-50%) !important;

    height:42px !important;
    min-height:42px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
  }

}


/* =========================================================
   ANKET DURUM FILTRELERI
   ========================================================= */

.ruyaSurveyV9 .ruyaSurveyV9Tabs > button{
  transition:
    background .16s ease,
    border-color .16s ease,
    box-shadow .16s ease,
    transform .16s ease !important;
}


/* ---------------------------------------------------------
   1. AKTIF
   --------------------------------------------------------- */

.ruyaSurveyV9 .ruyaSurveyV9Tabs > button:nth-child(1){
  background:#183b82 !important;
  border-color:#183b82 !important;
  color:#fff !important;
}

.ruyaSurveyV9 .ruyaSurveyV9Tabs > button:nth-child(1) b{
  background:rgba(255,255,255,.18) !important;
  color:#fff !important;
}


/* ---------------------------------------------------------
   2. SURESI DOLDU
   Aktif ile ayni temel renk
   --------------------------------------------------------- */

.ruyaSurveyV9 .ruyaSurveyV9Tabs > button:nth-child(2){
  background:#183b82 !important;
  border-color:#183b82 !important;
  color:#fff !important;
}

.ruyaSurveyV9 .ruyaSurveyV9Tabs > button:nth-child(2) b{
  background:rgba(255,255,255,.18) !important;
  color:#fff !important;
}


/* ---------------------------------------------------------
   3. YAYINDAN KALDIRILDI
   Baskin olmayan kirmizi
   --------------------------------------------------------- */

.ruyaSurveyV9 .ruyaSurveyV9Tabs > button:nth-child(3){
  background:#c9545e !important;
  border-color:#c9545e !important;
  color:#fff !important;
}

.ruyaSurveyV9 .ruyaSurveyV9Tabs > button:nth-child(3) b{
  background:rgba(255,255,255,.20) !important;
  color:#fff !important;
}


/* ---------------------------------------------------------
   4. TUMU
   Daha pasif / sakin
   --------------------------------------------------------- */

.ruyaSurveyV9 .ruyaSurveyV9Tabs > button:nth-child(4){
  background:#eef2f7 !important;
  border-color:#dce4ee !important;
  color:#64748b !important;
}

.ruyaSurveyV9 .ruyaSurveyV9Tabs > button:nth-child(4) b{
  background:#dfe6ef !important;
  color:#596b83 !important;
}


/* ---------------------------------------------------------
   SECILI FILTREYI YINE DE BELLI ET
   --------------------------------------------------------- */

.ruyaSurveyV9 .ruyaSurveyV9Tabs > button.active{
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 3px rgba(24,59,130,.22),
    0 6px 14px rgba(24,59,130,.12) !important;

  transform:translateY(-1px);
}

.ruyaSurveyV9 .ruyaSurveyV9Tabs > button:nth-child(3).active{
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 3px rgba(201,84,94,.22),
    0 6px 14px rgba(201,84,94,.10) !important;
}

.ruyaSurveyV9 .ruyaSurveyV9Tabs > button:nth-child(4).active{
  background:#dde5ef !important;

  box-shadow:
    0 0 0 2px #fff,
    0 0 0 3px rgba(100,116,139,.16) !important;
}


/* hover */
.ruyaSurveyV9 .ruyaSurveyV9Tabs > button:hover{
  filter:brightness(.97);
}


/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width:780px){

  .ruyaSurveyV9 .ruyaSurveyV9Tabs > button{
    min-height:38px !important;
  }

  .ruyaSurveyV9 .ruyaSurveyV9Tabs > button.active{
    transform:none;
  }

}


/* RUYA_SURVEY_FILTER_ALIGN_V17_20261009 */

/* YENI ANKET BUTONU HIZA */
@media (min-width:781px){
  .ruyaSurveyV9Hero .ruyaSurveyV9New{
    top:calc(100% + 67px) !important;
    transform:translateY(-50%) !important;
    height:42px !important;
    min-height:42px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
  }
}

/* AKTIF */
.ruyaSurveyV9 .ruyaSurveyV9Tabs > button:nth-child(1){
  background:#183b82 !important;
  border-color:#183b82 !important;
  color:#fff !important;
}
.ruyaSurveyV9 .ruyaSurveyV9Tabs > button:nth-child(1) b{
  background:rgba(255,255,255,.20) !important;
  color:#fff !important;
}

/* SURESI DOLDU */
.ruyaSurveyV9 .ruyaSurveyV9Tabs > button:nth-child(2){
  background:#d79632 !important;
  border-color:#d79632 !important;
  color:#fff !important;
}
.ruyaSurveyV9 .ruyaSurveyV9Tabs > button:nth-child(2) b{
  background:rgba(255,255,255,.22) !important;
  color:#fff !important;
}

/* YAYINDAN KALDIRILDI */
.ruyaSurveyV9 .ruyaSurveyV9Tabs > button:nth-child(3){
  background:#cf5962 !important;
  border-color:#cf5962 !important;
  color:#fff !important;
}
.ruyaSurveyV9 .ruyaSurveyV9Tabs > button:nth-child(3) b{
  background:rgba(255,255,255,.22) !important;
  color:#fff !important;
}

/* TUMU */
.ruyaSurveyV9 .ruyaSurveyV9Tabs > button:nth-child(4){
  background:#eef2f6 !important;
  border-color:#dbe3ed !important;
  color:#65758c !important;
}
.ruyaSurveyV9 .ruyaSurveyV9Tabs > button:nth-child(4) b{
  background:#dfe6ef !important;
  color:#617187 !important;
}

/* SECILI BUTONDA KONTUR / HALO / OUTLINE YOK */
.ruyaSurveyV9 .ruyaSurveyV9Tabs > button.active,
.ruyaSurveyV9 .ruyaSurveyV9Tabs > button:focus,
.ruyaSurveyV9 .ruyaSurveyV9Tabs > button:focus-visible{
  box-shadow:none !important;
  outline:none !important;
  transform:none !important;
}

/* hover sade */
.ruyaSurveyV9 .ruyaSurveyV9Tabs > button:hover{
  filter:brightness(.97);
  box-shadow:none !important;
}


/* RUYA_SURVEY_NEW_BUTTON_ALIGN_V19_20261009 */

/* Yeni Anket butonu filtrelerle aynı eksen / aynı yükseklik */
@media (min-width:781px){
  .ruyaSurveyV9Hero .ruyaSurveyV9New{
    top:calc(100% + 67px) !important;
    transform:translateY(-50%) !important;

    height:40px !important;
    min-height:40px !important;
    padding:0 18px !important;

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    line-height:1 !important;

    border-radius:12px !important;
    box-shadow:none !important;
    filter:none !important;
  }
}

/* Hover/focus durumunda da gölge çıkmasın */
.ruyaSurveyV9Hero .ruyaSurveyV9New,
.ruyaSurveyV9Hero .ruyaSurveyV9New:hover,
.ruyaSurveyV9Hero .ruyaSurveyV9New:focus,
.ruyaSurveyV9Hero .ruyaSurveyV9New:focus-visible{
  box-shadow:none !important;
  filter:none !important;
  outline:none !important;
}

/* Filtre butonlarıyla görsel yükseklik uyumu */
.ruyaSurveyV9 .ruyaSurveyV9Tabs > button{
  min-height:40px !important;
}


/* RUYA_SURVEY_ACTIVE_GREEN_V20_20261009 */

/* AKTIF filtresi her durumda YESIL */
body .ruyaSurveyV9 .ruyaSurveyV9Tabs > button:nth-child(1),
body .ruyaSurveyV9 .ruyaSurveyV9Tabs > button:nth-child(1).active,
body .ruyaSurveyV9 .ruyaSurveyV9Tabs > button:nth-child(1):hover,
body .ruyaSurveyV9 .ruyaSurveyV9Tabs > button:nth-child(1):focus{
  background:#2da56a !important;
  border-color:#2da56a !important;
  color:#fff !important;
  box-shadow:none !important;
  outline:none !important;
}

body .ruyaSurveyV9 .ruyaSurveyV9Tabs > button:nth-child(1) b,
body .ruyaSurveyV9 .ruyaSurveyV9Tabs > button:nth-child(1).active b{
  background:rgba(255,255,255,.22) !important;
  color:#fff !important;
}


/* =========================================================
   RUYA_SURVEY_MOBILE_FINAL_V21_20261009
   SADECE MOBIL — DESKTOP'A DOKUNMAZ
   ========================================================= */

@media (max-width:780px){

  /* -------------------------------------------------------
     SAYFA
     ------------------------------------------------------- */

  .ruyaSurveyV9{
    padding-left:12px !important;
    padding-right:12px !important;
    padding-bottom:82px !important;
  }


  /* -------------------------------------------------------
     BASLIK + YENI ANKET
     ------------------------------------------------------- */

  .ruyaSurveyV9Hero{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    align-items:center !important;
    column-gap:10px !important;
    row-gap:5px !important;

    padding:8px 2px 13px !important;
  }

  .ruyaSurveyV9HeroText small{
    margin-bottom:4px !important;
    font-size:9px !important;
  }

  .ruyaSurveyV9HeroText h2{
    margin:0 !important;
    font-size:28px !important;
    line-height:1.05 !important;
  }

  .ruyaSurveyV9HeroText p{
    grid-column:1/-1 !important;

    margin:7px 0 0 !important;
    max-width:none !important;

    font-size:11px !important;
    line-height:1.38 !important;
  }

  .ruyaSurveyV9Hero .ruyaSurveyV9New{
    position:static !important;

    height:42px !important;
    min-height:42px !important;

    padding:0 15px !important;

    transform:none !important;
    box-shadow:none !important;

    border-radius:11px !important;

    font-size:11px !important;
    white-space:nowrap !important;
  }


  /* -------------------------------------------------------
     FILTRE KUTUSU
     ------------------------------------------------------- */

  .ruyaSurveyV9Controls{
    display:block !important;

    margin-top:10px !important;
    padding:10px !important;

    min-height:0 !important;

    border-radius:15px !important;
  }


  /* -------------------------------------------------------
     4 DURUM BUTONU — TEK SATIR
     ------------------------------------------------------- */

  .ruyaSurveyV9Tabs{
    display:grid !important;
    grid-template-columns:
      .78fr
      1.14fr
      1.48fr
      .72fr !important;

    gap:5px !important;

    width:100% !important;

    overflow:visible !important;
  }

  .ruyaSurveyV9Tabs > button{
    width:100% !important;
    min-width:0 !important;

    height:36px !important;
    min-height:36px !important;

    padding:0 6px !important;

    gap:4px !important;

    border-radius:9px !important;

    font-size:8.5px !important;
    line-height:1 !important;

    white-space:nowrap !important;

    box-shadow:none !important;
    outline:none !important;
  }

  .ruyaSurveyV9Tabs > button b{
    min-width:19px !important;
    height:19px !important;

    padding:0 5px !important;

    font-size:8px !important;
  }

  /* Aktif */
  body .ruyaSurveyV9 .ruyaSurveyV9Tabs > button:nth-child(1){
    background:#2da56a !important;
    border-color:#2da56a !important;
    color:#fff !important;
  }

  /* Süresi Doldu */
  body .ruyaSurveyV9 .ruyaSurveyV9Tabs > button:nth-child(2){
    background:#d79a43 !important;
    border-color:#d79a43 !important;
    color:#fff !important;
  }

  /* Yayından Kaldırıldı */
  body .ruyaSurveyV9 .ruyaSurveyV9Tabs > button:nth-child(3){
    background:#cf5962 !important;
    border-color:#cf5962 !important;
    color:#fff !important;
  }

  /* Tümü */
  body .ruyaSurveyV9 .ruyaSurveyV9Tabs > button:nth-child(4){
    background:#eef2f6 !important;
    border-color:#dbe3ed !important;
    color:#65758c !important;
  }

  .ruyaSurveyV9Tabs > button.active,
  .ruyaSurveyV9Tabs > button:focus,
  .ruyaSurveyV9Tabs > button:focus-visible{
    transform:none !important;
    box-shadow:none !important;
    outline:none !important;
  }


  /* -------------------------------------------------------
     SINIFLAR VE TARIHE GORE MOBILDE YOK
     ------------------------------------------------------- */

  .ruyaSurveyV9FilterGrid{
    display:block !important;
    margin-top:8px !important;
  }

  .ruyaSurveyV9FilterGrid .ruyaSurveyV9Select{
    display:none !important;
  }


  /* -------------------------------------------------------
     ARAMA
     ------------------------------------------------------- */

  .ruyaSurveyV9FilterGrid .ruyaSurveyV9Search{
    display:flex !important;

    width:100% !important;
    height:42px !important;
    min-height:42px !important;

    padding:0 12px !important;

    border-radius:11px !important;
  }

  .ruyaSurveyV9Search input{
    height:40px !important;
    font-size:11px !important;
  }


  /* -------------------------------------------------------
     KPI KARTLARI MOBILDE GIZLE
     EKRANI GEREKSIZ UZATMASIN
     ------------------------------------------------------- */

  .ruyaSurveyV9Stats{
    display:none !important;
  }


  /* -------------------------------------------------------
     BOLUM
     ------------------------------------------------------- */

  .ruyaSurveyV9Sections{
    gap:9px !important;
    margin-top:10px !important;
  }

  .ruyaSurveyV9Section{
    padding:9px !important;
    border-radius:15px !important;
  }

  .ruyaSurveyV9SectionHead{
    display:flex !important;
    align-items:flex-start !important;

    padding:1px 1px 8px !important;
  }

  .ruyaSurveyV9SectionHead h3{
    min-height:29px !important;

    padding:0 11px !important;

    border-radius:8px !important;

    font-size:12px !important;
  }

  .ruyaSurveyV9SectionHead p{
    margin-top:4px !important;
    margin-left:1px !important;

    font-size:9px !important;
  }

  /* Mobilde adet rozeti gereksiz */
  .ruyaSurveyV9SectionHead > span{
    display:none !important;
  }


  /* -------------------------------------------------------
     ANKET KARTI
     ------------------------------------------------------- */

  .ruyaSurveyV9Card{
    display:grid !important;
    grid-template-columns:44px minmax(0,1fr) !important;

    gap:10px !important;

    padding:11px !important;

    border-radius:14px !important;
  }

  .ruyaSurveyV9CardIcon{
    display:flex !important;

    width:44px !important;
    height:44px !important;

    align-items:center !important;
    justify-content:center !important;

    border-radius:12px !important;

    font-size:18px !important;
  }

  .ruyaSurveyV9Card.active .ruyaSurveyV9CardIcon{
    background:#e1f8eb !important;
    color:#15a564 !important;
  }

  .ruyaSurveyV9Card.expired .ruyaSurveyV9CardIcon{
    background:#fff2df !important;
    color:#d48416 !important;
  }

  .ruyaSurveyV9Card.withdrawn .ruyaSurveyV9CardIcon{
    background:#ffebed !important;
    color:#cf5962 !important;
  }

  .ruyaSurveyV9CardContent{
    display:block !important;
    min-width:0 !important;
  }

  .ruyaSurveyV9CardTop{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;

    gap:7px !important;
  }

  .ruyaSurveyV9Status{
    min-height:23px !important;

    padding:0 9px !important;

    font-size:9px !important;
  }

  .ruyaSurveyV9ClassPill{
    max-width:52% !important;

    padding:5px 8px !important;

    font-size:8.5px !important;
  }

  .ruyaSurveyV9Card h3{
    margin:6px 0 3px !important;

    font-size:13px !important;
    line-height:1.25 !important;
  }

  .ruyaSurveyV9Description{
    display:-webkit-box !important;

    margin:0 !important;

    overflow:hidden !important;

    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;

    font-size:10.5px !important;
    line-height:1.4 !important;
  }


  /* -------------------------------------------------------
     META
     ------------------------------------------------------- */

  .ruyaSurveyV9Meta{
    display:grid !important;
    grid-template-columns:auto minmax(0,1fr) auto !important;

    gap:6px !important;

    margin-top:9px !important;
    margin-left:-54px !important;
    padding-left:54px !important;

    font-size:9px !important;
  }

  .ruyaSurveyV9Meta > span:first-child{
    grid-column:1/-1 !important;
  }

  .ruyaSurveyV9Progress{
    width:100% !important;
    min-width:55px !important;
    height:5px !important;
  }

  .ruyaSurveyV9Rate{
    font-size:9px !important;
  }


  /* -------------------------------------------------------
     AKSIYONLAR
     ------------------------------------------------------- */

  .ruyaSurveyV9Actions{
    display:grid !important;
    grid-template-columns:
      1.05fr
      1.28fr
      1fr
      38px !important;

    gap:5px !important;

    margin-top:9px !important;
    margin-left:-54px !important;

    padding-top:9px !important;
    padding-left:54px !important;

    border-top:1px solid #edf1f6 !important;
  }

  .ruyaSurveyV9Actions > button,
  .ruyaSurveyV9Actions .ruyaContentReceiptButton{
    width:100% !important;
    min-width:0 !important;

    height:37px !important;
    min-height:37px !important;

    padding:0 5px !important;

    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;

    border-radius:9px !important;

    font-size:9px !important;
  }

  .ruyaSurveyV9Actions > button.primary{
    background:#183b82 !important;
    border-color:#183b82 !important;
    color:#fff !important;
  }

  /* Görüntülenme ikonu hissi */
  .ruyaSurveyV9Actions .ruyaContentReceiptButton{
    color:#273d72 !important;
  }

  /* Düzenle */
  .ruyaSurveyV9Actions > button:not(.primary):not(.ruyaSurveyDesktopOnly){
    color:#244271 !important;
  }

  .ruyaSurveyDesktopOnly{
    display:none !important;
  }


  /* -------------------------------------------------------
     UC NOKTA
     ------------------------------------------------------- */

  .ruyaSurveyMobileMore{
    position:relative !important;
    display:block !important;
  }

  .ruyaSurveyMobileMore summary{
    width:38px !important;
    height:37px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    padding:0 !important;

    border:1px solid #dfe7f2 !important;
    border-radius:9px !important;

    background:#fff !important;
    color:#183b82 !important;

    list-style:none !important;

    font-size:12px !important;
  }

  .ruyaSurveyMobileMore summary::-webkit-details-marker{
    display:none !important;
  }

  .ruyaSurveyMobileMoreMenu{
    right:0 !important;
    bottom:calc(100% + 6px) !important;

    width:170px !important;

    border-radius:11px !important;
  }


  /* -------------------------------------------------------
     MODAL
     ------------------------------------------------------- */

  .ruya-r784-surveyModal{
    width:calc(100vw - 22px) !important;
    max-height:calc(100dvh - 28px) !important;

    overflow:auto !important;

    border-radius:16px !important;
  }

}


/* =========================================================
   RUYA_SURVEY_MOBILE_FINAL_V22_20261009
   SADECE MOBIL
   ========================================================= */

@media (max-width:780px){

  /* =======================================================
     1. ANA EKRAN — FIT TO SCREEN / KOMPAKT
     ======================================================= */

  .ruyaSurveyV9{
    padding:
      8px
      12px
      calc(92px + env(safe-area-inset-bottom))
      !important;
  }

  .ruyaSurveyV9Hero{
    grid-template-columns:minmax(0,1fr) auto !important;
    column-gap:8px !important;
    row-gap:3px !important;

    padding:
      4px
      2px
      10px
      !important;

    margin:0 !important;
  }

  .ruyaSurveyV9HeroText small{
    margin:0 0 3px !important;

    font-size:8.5px !important;
    line-height:1.1 !important;
  }

  .ruyaSurveyV9HeroText h2{
    margin:0 !important;

    font-size:27px !important;
    line-height:1 !important;
  }

  .ruyaSurveyV9HeroText p{
    margin:6px 0 0 !important;

    font-size:10.5px !important;
    line-height:1.32 !important;
  }

  .ruyaSurveyV9Hero .ruyaSurveyV9New{
    height:40px !important;
    min-height:40px !important;

    padding:0 13px !important;

    border-radius:10px !important;

    font-size:10.5px !important;

    box-shadow:none !important;
  }


  /* =======================================================
     2. FILTRELER
     ======================================================= */

  .ruyaSurveyV9Controls{
    min-height:0 !important;

    margin:8px 0 0 !important;

    padding:9px !important;

    border-radius:14px !important;
  }

  .ruyaSurveyV9Tabs{
    gap:4px !important;
  }

  .ruyaSurveyV9Tabs > button{
    height:34px !important;
    min-height:34px !important;

    padding:0 5px !important;

    border-radius:8px !important;

    font-size:8px !important;
  }

  .ruyaSurveyV9Tabs > button b{
    min-width:18px !important;
    height:18px !important;

    padding:0 4px !important;

    font-size:7.5px !important;
  }

  .ruyaSurveyV9FilterGrid{
    margin-top:7px !important;
  }

  /* Sinif / tarihe gore mobilde yok */
  .ruyaSurveyV9FilterGrid .ruyaSurveyV9Select{
    display:none !important;
  }

  .ruyaSurveyV9FilterGrid .ruyaSurveyV9Search{
    height:39px !important;
    min-height:39px !important;

    padding:0 11px !important;

    border-radius:10px !important;
  }

  .ruyaSurveyV9Search input{
    height:37px !important;

    font-size:10.5px !important;
  }


  /* KPI mobilde yok */
  .ruyaSurveyV9Stats{
    display:none !important;
  }


  /* =======================================================
     3. AKTIF ANKET BOLUMU
     ======================================================= */

  .ruyaSurveyV9Sections{
    margin-top:8px !important;

    gap:7px !important;
  }

  .ruyaSurveyV9Section{
    padding:8px !important;

    border-radius:14px !important;
  }

  .ruyaSurveyV9SectionHead{
    min-height:0 !important;

    padding:0 1px 7px !important;
  }

  .ruyaSurveyV9SectionHead h3{
    min-height:27px !important;

    padding:0 10px !important;

    border-radius:7px !important;

    font-size:11.5px !important;
  }

  .ruyaSurveyV9SectionHead p{
    margin:3px 0 0 1px !important;

    font-size:8.5px !important;
    line-height:1.25 !important;
  }


  /* =======================================================
     4. ANKET KARTI
     ======================================================= */

  .ruyaSurveyV9Card{
    grid-template-columns:42px minmax(0,1fr) !important;

    gap:8px !important;

    padding:10px !important;

    border-radius:13px !important;
  }


  /* =======================================================
     5. RENKLI IKONLAR
     ======================================================= */

  .ruyaSurveyV9CardIcon{
    width:42px !important;
    height:42px !important;

    border-radius:11px !important;

    font-size:0 !important;

    color:transparent !important;

    background-repeat:no-repeat !important;
    background-position:center !important;
    background-size:25px 25px !important;
  }

  /* Aktif = megafon */
  .ruyaSurveyV9Card.active .ruyaSurveyV9CardIcon{
    background-color:#e4f8ed !important;

    background-image:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%2317a565' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11v2a2 2 0 0 0 2 2h2l5 4V5L7 9H5a2 2 0 0 0-2 2Z'/%3E%3Cpath d='M12 9c3 0 5-1 8-3v12c-3-2-5-3-8-3'/%3E%3Cpath d='M7 15v4'/%3E%3C/svg%3E")
      !important;
  }

  /* Suresi doldu = belge */
  .ruyaSurveyV9Card.expired .ruyaSurveyV9CardIcon{
    background-color:#fff2de !important;

    background-image:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%23d48718' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h8l4 4v16H6z'/%3E%3Cpath d='M14 2v5h5'/%3E%3Cpath d='M9 12h6M9 16h6'/%3E%3C/svg%3E")
      !important;
  }

  /* Yayindan kaldirildi */
  .ruyaSurveyV9Card.withdrawn .ruyaSurveyV9CardIcon{
    background-color:#ffebed !important;

    background-image:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%23cf5962' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 8 8 8M16 8l-8 8'/%3E%3C/svg%3E")
      !important;
  }


  /* =======================================================
     6. KART METINLERI
     ======================================================= */

  .ruyaSurveyV9CardTop{
    gap:5px !important;
  }

  .ruyaSurveyV9Status{
    min-height:21px !important;

    padding:0 8px !important;

    font-size:8.5px !important;
  }

  .ruyaSurveyV9ClassPill{
    max-width:54% !important;

    padding:4px 7px !important;

    font-size:8px !important;
  }

  .ruyaSurveyV9Card h3{
    margin:5px 0 2px !important;

    font-size:12.5px !important;
    line-height:1.2 !important;
  }

  .ruyaSurveyV9Description{
    font-size:9.8px !important;
    line-height:1.32 !important;

    -webkit-line-clamp:2 !important;
  }


  /* =======================================================
     7. META
     ======================================================= */

  .ruyaSurveyV9Meta{
    grid-template-columns:auto minmax(0,1fr) auto !important;

    gap:5px !important;

    margin-top:7px !important;
    margin-left:-50px !important;

    padding-left:50px !important;

    font-size:8.5px !important;
  }

  .ruyaSurveyV9Progress{
    height:5px !important;
  }

  .ruyaSurveyV9Rate{
    font-size:8.5px !important;
  }


  /* =======================================================
     8. AKSIYON BUTONLARI — YAZILAR KESILMESIN
     ======================================================= */

  .ruyaSurveyV9Actions{
    grid-template-columns:
      86px
      minmax(105px,1fr)
      76px
      38px
      !important;

    gap:4px !important;

    margin:
      7px
      0
      0
      -50px
      !important;

    padding:
      7px
      0
      0
      50px
      !important;
  }

  .ruyaSurveyV9Actions > button,
  .ruyaSurveyV9Actions .ruyaContentReceiptButton{
    height:35px !important;
    min-height:35px !important;

    padding:0 4px !important;

    overflow:visible !important;

    text-overflow:clip !important;

    white-space:nowrap !important;

    border-radius:8px !important;

    font-size:9px !important;

    letter-spacing:-.01em !important;
  }

  .ruyaSurveyV9Actions > button.primary{
    min-width:86px !important;
  }

  .ruyaSurveyMobileMore summary{
    width:38px !important;
    height:35px !important;

    border-radius:8px !important;
  }


  /* =======================================================
     9. YENI / DUZENLE MODALI
     TAM VIEWPORT — ALT MENU ARTIK UZERINE BINEMEZ
     ======================================================= */

  .ruya-r784-surveyBack{
    position:fixed !important;

    inset:0 !important;

    z-index:999999 !important;

    display:flex !important;

    align-items:center !important;
    justify-content:center !important;

    padding:
      max(12px,env(safe-area-inset-top))
      12px
      max(12px,env(safe-area-inset-bottom))
      !important;

    background:rgba(13,34,73,.38) !important;

    backdrop-filter:blur(6px) !important;
    -webkit-backdrop-filter:blur(6px) !important;
  }


  /* =======================================================
     10. MODAL ANA GOVDE
     ======================================================= */

  .ruya-r784-surveyModal{
    position:relative !important;

    inset:auto !important;

    width:100% !important;
    max-width:460px !important;

    height:auto !important;
    max-height:
      calc(
        100dvh
        - max(24px,env(safe-area-inset-top))
        - max(24px,env(safe-area-inset-bottom))
      )
      !important;

    margin:0 !important;

    padding:0 !important;

    display:flex !important;

    flex-direction:column !important;

    overflow:hidden !important;

    border:
      1px solid
      rgba(219,228,240,.95)
      !important;

    border-radius:18px !important;

    background:#fff !important;

    box-shadow:
      0 24px 70px
      rgba(13,34,73,.22)
      !important;
  }


  /* Modal title */
  .ruya-r784-surveyModal > h3{
    flex:0 0 auto !important;

    margin:0 !important;

    padding:
      19px
      56px
      15px
      18px
      !important;

    border-bottom:
      1px solid
      #e8edf4
      !important;

    background:#fff !important;

    color:#15366f !important;

    font-size:18px !important;
    font-weight:700 !important;
  }


  /* =======================================================
     11. KAPAT BUTONU — MOR YOK
     ======================================================= */

  .ruya-r784-surveyModal .modalTopClose{
    position:absolute !important;

    top:12px !important;
    right:12px !important;

    z-index:5 !important;

    width:38px !important;
    height:38px !important;

    border:0 !important;

    border-radius:11px !important;

    background:#eef3fb !important;

    color:#183b82 !important;

    box-shadow:none !important;

    font-size:25px !important;
    font-weight:500 !important;
  }


  /* =======================================================
     12. MODAL SCROLL ALANI
     ======================================================= */

  .ruya-r784-surveyBody{
    flex:1 1 auto !important;

    min-height:0 !important;

    overflow-y:auto !important;
    overflow-x:hidden !important;

    padding:
      15px
      16px
      12px
      !important;

    overscroll-behavior:contain !important;
    -webkit-overflow-scrolling:touch !important;
  }

  .ruya-r784-surveyBody .field{
    margin-bottom:13px !important;
  }

  .ruya-r784-surveyBody .field > label{
    display:block !important;

    margin:0 0 6px !important;

    color:#465772 !important;

    font-size:11px !important;
    font-weight:700 !important;
  }


  /* =======================================================
     13. INPUTLAR — LACIVERT YENI TEMA
     ======================================================= */

  .ruya-r784-surveyBody input,
  .ruya-r784-surveyBody textarea,
  .ruya-r784-surveyBody select{
    width:100% !important;

    border:
      1px solid
      #dce4ef
      !important;

    border-radius:11px !important;

    background:#fff !important;

    color:#162a50 !important;

    box-shadow:none !important;

    outline:none !important;

    font-size:12px !important;

    accent-color:#183b82 !important;
  }

  .ruya-r784-surveyBody input,
  .ruya-r784-surveyBody select{
    min-height:43px !important;

    padding:0 12px !important;
  }

  .ruya-r784-surveyBody textarea{
    min-height:86px !important;

    padding:11px 12px !important;

    line-height:1.4 !important;

    resize:vertical !important;
  }

  .ruya-r784-surveyBody input:focus,
  .ruya-r784-surveyBody textarea:focus,
  .ruya-r784-surveyBody select:focus{
    border-color:#315da8 !important;

    box-shadow:
      0 0 0 3px
      rgba(24,59,130,.08)
      !important;
  }

  .ruya-r784-surveyBody textarea:disabled{
    background:#f6f8fb !important;

    color:#7f8ca2 !important;

    opacity:1 !important;
  }

  .ruya-r784-surveyBody .muted{
    display:block !important;

    margin-top:6px !important;

    color:#7e8ca3 !important;

    font-size:9.5px !important;
    line-height:1.35 !important;
  }


  /* =======================================================
     14. GRID
     ======================================================= */

  .ruya-r784-surveyGrid{
    display:grid !important;

    grid-template-columns:1fr !important;

    gap:0 !important;
  }


  /* =======================================================
     15. MODAL FOOTER — ALT MENU USTUNE BINMEZ
     ======================================================= */

  .ruya-r784-surveyFooter{
    position:relative !important;

    bottom:auto !important;

    z-index:4 !important;

    flex:0 0 auto !important;

    display:grid !important;

    grid-template-columns:.8fr 1.35fr !important;

    gap:8px !important;

    padding:
      11px
      15px
      calc(11px + env(safe-area-inset-bottom))
      !important;

    border-top:
      1px solid
      #e8edf4
      !important;

    background:
      rgba(255,255,255,.98)
      !important;

    box-shadow:
      0 -8px 22px
      rgba(16,45,104,.04)
      !important;
  }


  /* VAZGEC */
  .ruya-r784-surveyCancel{
    height:44px !important;

    border:
      1px solid
      #dce4ef
      !important;

    border-radius:11px !important;

    background:#fff !important;

    color:#53647f !important;

    box-shadow:none !important;

    font-size:11px !important;
    font-weight:700 !important;
  }


  /* KAYDET — MOR TAMAMEN KALKTI */
  .ruya-r784-surveySubmit{
    height:44px !important;

    border:
      1px solid
      #183b82
      !important;

    border-radius:11px !important;

    background:#183b82 !important;
    background-image:none !important;

    color:#fff !important;

    box-shadow:none !important;

    font-size:11px !important;
    font-weight:700 !important;
  }

  .ruya-r784-surveySubmit:hover,
  .ruya-r784-surveySubmit:focus{
    background:#143473 !important;

    background-image:none !important;

    box-shadow:none !important;
  }


  /* Yeniden yayinla bilgi kutusu */
  .ruyaSurveyV9ReopenInfo{
    margin:
      0
      16px
      6px
      !important;

    padding:9px 11px !important;

    border-radius:9px !important;

    background:#f1f5fb !important;

    color:#36547f !important;

    font-size:9.5px !important;
  }

}


/* DAR TELEFONLAR */
@media (max-width:390px){

  .ruyaSurveyV9Tabs > button{
    font-size:7.4px !important;
  }

  .ruyaSurveyV9Actions{
    grid-template-columns:
      80px
      minmax(100px,1fr)
      70px
      36px
      !important;
  }

  .ruyaSurveyV9Actions > button,
  .ruyaSurveyV9Actions .ruyaContentReceiptButton{
    font-size:8.5px !important;
  }

}

