/* ==========================================================
   RÜYA DOCUMENTS MODERN V3
   Bülten + Learning + Student + Guidance + Program + General
   Frontend-only / data-safe
   ========================================================== */

:root{
  --rdv3-ink:#102b59;
  --rdv3-text:#405a78;
  --rdv3-muted:#8492a7;
  --rdv3-line:#dfe7f1;
  --rdv3-blue:#0b3f91;
  --rdv3-soft:#f7f9fc;
  --rdv3-danger:#dc2929;
}

/* ==========================================================
   DOKÜMANLARA DÖN
   Alt sayfalarda gizli.
   Ana Dokümanlar merkezi etkilenmez.
   ========================================================== */

body.ruyaDocumentsV3Active .ruyaContentHubBack{
  display:none!important;
}

body.ruyaDocumentsV3Active .ruyaContentHubSubView{
  margin-top:0!important;
  padding-top:0!important;
}


/* ==========================================================
   HEADER ORTAK YAPI
   ========================================================== */

html body .ruyaDocV3HeaderActions{
  width:100%!important;
  min-width:0!important;

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

  align-items:center!important;
  gap:10px!important;

  margin-top:0!important;
}

html body .ruyaDocV3HeaderActions .ruyaDocHeaderSearch,
html body .ruyaDocV3HeaderActions .ruyaLearningHeaderSearch{
  width:100%!important;
  min-width:0!important;

  position:relative!important;
}

/* Learning search içindeki eski arama sembolü */
html body .ruyaDocV3HeaderActions .ruyaLearningHeaderSearch > span{
  display:none!important;
}

html body .ruyaDocV3HeaderActions input[type="search"]{
  width:100%!important;
  min-width:0!important;

  height:48px!important;

  margin:0!important;
  padding:0 15px!important;

  border:1px solid var(--rdv3-line)!important;
  border-radius:14px!important;

  background:#fff!important;

  color:var(--rdv3-ink)!important;

  font-size:14px!important;
  font-weight:500!important;

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

html body .ruyaDocV3HeaderActions input[type="search"]:focus{
  border-color:#a9c0df!important;
  box-shadow:0 0 0 3px rgba(31,82,151,.07)!important;
}


/* ==========================================================
   FİLTRE
   ========================================================== */

html body .ruyaDocV3FilterButton{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;

  height:48px!important;
  min-width:88px!important;

  margin:0!important;
  padding:0 15px!important;

  border:1px solid var(--rdv3-line)!important;
  border-radius:14px!important;

  background:#fff!important;

  color:var(--rdv3-blue)!important;

  font:inherit!important;
  font-size:13.5px!important;
  font-weight:680!important;

  white-space:nowrap!important;

  box-shadow:none!important;
}

html body .ruyaDocV3FilterButton[data-active="1"]{
  background:#edf4ff!important;
  border-color:#b6cbe8!important;
}


/* ==========================================================
   YÜKLE BUTONU
   ========================================================== */

html body .ruyaDocV3UploadButton{
  grid-column:1/-1!important;

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

  width:100%!important;
  min-width:0!important;
  min-height:48px!important;

  margin:0!important;

  border-radius:14px!important;
}


/* ==========================================================
   LEARNING HEADER
   ========================================================== */

html body .ruyaLearningMaterialPage .ruyaLearningCleanHeader{
  display:block!important;

  width:100%!important;

  margin:0 0 22px!important;
  padding:4px 0 0!important;

  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

html body .ruyaLearningMaterialPage .ruyaLearningCleanHeaderCopy{
  margin:0 0 21px!important;
}

html body .ruyaLearningMaterialPage .ruyaLearningCleanHeaderCopy h1{
  margin:0 0 7px!important;

  color:var(--rdv3-ink)!important;

  font-size:28px!important;
  line-height:1.15!important;
  font-weight:700!important;

  letter-spacing:-.5px!important;
}

html body .ruyaLearningMaterialPage .ruyaLearningCleanHeaderCopy p{
  margin:0!important;

  color:#718198!important;

  font-size:15px!important;
  line-height:1.48!important;
}


/* ==========================================================
   DOC GRID
   ========================================================== */

html body .ruyaDocumentsPage .v5DocGrid,
html body .ruyaLearningMaterialPage .v5LearnGrid{
  display:flex!important;
  flex-direction:column!important;

  width:100%!important;
  min-width:0!important;

  gap:10px!important;
}


/* ==========================================================
   DOCUMENT CARDS
   ========================================================== */

html body .ruyaDocumentsPage .uploadedDocumentCard{
  position:relative!important;

  display:block!important;

  grid-template-columns:none!important;

  width:100%!important;
  min-width:0!important;
  min-height:76px!important;

  margin:0!important;
  padding:13px 15px!important;

  gap:0!important;

  background:#fff!important;

  border:1px solid var(--rdv3-line)!important;
  border-radius:17px!important;

  box-shadow:0 2px 10px rgba(17,43,81,.025)!important;

  overflow:hidden!important;

  cursor:pointer!important;

  -webkit-tap-highlight-color:transparent!important;

  transition:
    transform .15s ease,
    border-color .15s ease,
    box-shadow .15s ease!important;
}

html body .ruyaDocumentsPage .uploadedDocumentCard:active{
  transform:scale(.993)!important;
}


/* Eski dosya ikonu */
html body .ruyaDocumentsPage .uploadedDocumentCard > span:first-child{
  display:none!important;

  width:0!important;
  height:0!important;

  margin:0!important;
  padding:0!important;
}


/* Eski buton satırı */
/* RUYA_DOCUMENT_ACTIONS_VISIBLE_V34
   V330 doküman işlemleri artık kart içindeki ⋮ menüsünden yönetiliyor. */
html body .ruyaDocumentsPage .uploadedDocumentCard .uploadedFileActions{
  display:flex!important;
  visibility:visible!important;
}


/* Bültenlerdeki eski ok dahil tüm V2 okları */
html body .ruyaDocumentsPage .uploadedDocumentCard::after{
  content:none!important;
  display:none!important;
}


html body .ruyaDocumentsPage .uploadedDocumentCard > div:not(.uploadedFileActions){
  display:block!important;

  width:100%!important;
  min-width:0!important;
}


html body .ruyaDocumentsPage .uploadedDocumentCard b{
  display:block!important;

  margin:0 0 4px!important;

  color:var(--rdv3-ink)!important;

  font-size:14.5px!important;
  line-height:1.27!important;
  font-weight:700!important;

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


html body .ruyaDocumentsPage .uploadedDocumentCard p{
  display:block!important;

  margin:0 0 3px!important;

  color:var(--rdv3-text)!important;

  font-size:12.3px!important;
  line-height:1.3!important;

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

html body .ruyaDocumentsPage .uploadedDocumentCard p:empty{
  display:none!important;
}


html body .ruyaDocumentsPage .uploadedDocumentCard small{
  display:block!important;

  margin:0!important;

  color:var(--rdv3-muted)!important;

  font-size:11.5px!important;
  line-height:1.3!important;
  font-weight:500!important;

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


/* ==========================================================
   LEARNING CARDS
   ========================================================== */

html body .ruyaLearningMaterialPage .learningUploadCard{
  position:relative!important;

  display:block!important;

  grid-template-columns:none!important;

  width:100%!important;
  min-width:0!important;
  min-height:76px!important;

  margin:0!important;
  padding:13px 15px!important;

  background:#fff!important;

  border:1px solid var(--rdv3-line)!important;
  border-radius:17px!important;

  box-shadow:0 2px 10px rgba(17,43,81,.025)!important;

  overflow:hidden!important;

  cursor:pointer!important;

  -webkit-tap-highlight-color:transparent!important;

  transition:
    transform .15s ease,
    border-color .15s ease,
    box-shadow .15s ease!important;
}

html body .ruyaLearningMaterialPage .learningUploadCard:active{
  transform:scale(.993)!important;
}


/* Eski materyal ikonu */
html body .ruyaLearningMaterialPage .learningUploadCard > span{
  display:none!important;
}


/* Eski aksiyon satırı */
html body .ruyaLearningMaterialPage .learningUploadCard .learningFileActions{
  display:none!important;
  visibility:hidden!important;
}


html body .ruyaLearningMaterialPage .learningUploadCard > div{
  display:block!important;

  width:100%!important;
  min-width:0!important;
}


/* Eski badge'i karttan kaldırıyoruz,
   V3 kendi sade meta satırını ekliyor */
html body .ruyaLearningMaterialPage .learningUploadCard > div > .badge{
  display:none!important;
}


html body .ruyaLearningMaterialPage .learningUploadCard h3{
  display:block!important;

  margin:0 0 4px!important;

  color:var(--rdv3-ink)!important;

  font-size:14.5px!important;
  line-height:1.27!important;
  font-weight:700!important;

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


html body .ruyaLearningMaterialPage .ruyaDocV3LearningMeta{
  margin:0 0 3px!important;

  color:var(--rdv3-muted)!important;

  font-size:11.7px!important;
  line-height:1.3!important;
  font-weight:550!important;

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


html body .ruyaLearningMaterialPage .learningUploadCard p{
  display:block!important;

  margin:0!important;

  color:var(--rdv3-text)!important;

  font-size:12.3px!important;
  line-height:1.3!important;

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


/* Orijinal dosya adı küçük satırı V3 meta içinde gösteriliyor */
html body .ruyaLearningMaterialPage .learningUploadCard > div > small:not(.homeworkDue){
  display:none!important;
}


/* ==========================================================
   MODAL / BOTTOM SHEET
   ========================================================== */

.ruyaDocV3Overlay{
  position:fixed;
  inset:0;

  z-index:2147483000;

  display:flex;
  align-items:flex-end;
  justify-content:center;

  background:rgba(7,20,43,.52);

  -webkit-backdrop-filter:blur(3px);
  backdrop-filter:blur(3px);

  animation:ruyaDocV3Fade .18s ease-out both;
}


.ruyaDocV3Sheet{
  width:min(100%,560px);
  max-height:88dvh;

  overflow:hidden;

  background:#fff;

  border-radius:25px 25px 0 0;

  box-shadow:0 -18px 50px rgba(7,25,53,.20);

  animation:ruyaDocV3SheetUp .23s cubic-bezier(.2,.75,.25,1) both;
}


.ruyaDocV3Handle{
  width:43px;
  height:5px;

  margin:9px auto 4px;

  border-radius:999px;

  background:#ced7e4;
}


.ruyaDocV3Header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;

  gap:14px;

  padding:14px 18px 15px;

  border-bottom:1px solid #edf1f6;
}


.ruyaDocV3HeaderText{
  min-width:0;
}


.ruyaDocV3Header h3{
  margin:0;

  color:var(--rdv3-ink);

  font-size:18px;
  line-height:1.3;
  font-weight:700;

  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}


.ruyaDocV3Header p{
  margin:5px 0 0;

  color:#8190a7;

  font-size:12.5px;
  line-height:1.4;

  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}


.ruyaDocV3Close{
  width:38px;
  height:38px;
  min-width:38px;

  margin:0;
  padding:0;

  border:0;
  border-radius:12px;

  background:#f3f6fa;

  color:#244c82;

  font-size:25px;
  line-height:1;
}


.ruyaDocV3Actions{
  padding:3px 18px calc(13px + env(safe-area-inset-bottom));

  overflow:auto;

  max-height:calc(88dvh - 104px);
}


.ruyaDocV3Action{
  display:flex;
  align-items:center;
  justify-content:space-between;

  width:100%;
  min-height:62px;

  margin:0;
  padding:10px 3px;

  border:0;
  border-bottom:1px solid #edf1f6;

  background:transparent;

  text-align:left;
}


.ruyaDocV3Action:last-child{
  border-bottom:0;
}


.ruyaDocV3ActionText{
  min-width:0;
}


.ruyaDocV3Action strong{
  display:block;

  color:var(--rdv3-ink);

  font-size:15px;
  line-height:1.25;
  font-weight:680;
}


.ruyaDocV3Action small{
  display:block;

  margin-top:3px;

  color:#8998ae;

  font-size:12px;
  line-height:1.3;
}


.ruyaDocV3Action::after{
  content:"›";

  color:#8291a8;

  font-size:26px;
  line-height:1;
}


html body .ruyaDocV3Sheet .ruyaDocV3Action.danger{
  min-height:64px!important;

  margin:10px 0 3px!important;
  padding:11px 14px!important;

  border:1px solid #f2d4d4!important;
  border-radius:14px!important;

  background:#fff7f7!important;

  box-shadow:none!important;
}


html body .ruyaDocV3Sheet .ruyaDocV3Action.danger strong{
  color:var(--rdv3-danger)!important;
}

html body .ruyaDocV3Sheet .ruyaDocV3Action.danger small{
  color:#d85d5d!important;
}

html body .ruyaDocV3Sheet .ruyaDocV3Action.danger::after{
  color:var(--rdv3-danger)!important;
}


.ruyaDocV3EmptyActions{
  padding:24px 18px calc(24px + env(safe-area-inset-bottom));

  color:#8190a7;

  font-size:13px;
  text-align:center;
}


/* ==========================================================
   FILTER SHEET
   ========================================================== */

.ruyaDocV3FilterBody{
  padding:3px 18px calc(19px + env(safe-area-inset-bottom));

  max-height:calc(88dvh - 95px);

  overflow:auto;
}


.ruyaDocV3Field{
  margin-top:16px;
}


.ruyaDocV3Field label{
  display:block;

  margin-bottom:8px;

  color:#183661;

  font-size:13px;
  font-weight:700;
}


.ruyaDocV3Field select,
.ruyaDocV3Field input{
  width:100%;
  height:48px;

  margin:0;
  padding:0 13px;

  border:1px solid var(--rdv3-line);
  border-radius:14px;

  background:#fff;

  color:#385474;

  font:inherit;
  font-size:14px;

  outline:none;
}


.ruyaDocV3Dates{
  display:grid;
  grid-template-columns:1fr 1fr;

  gap:9px;
}


.ruyaDocV3FilterFooter{
  display:grid;
  grid-template-columns:1fr 1fr;

  gap:10px;

  margin-top:22px;
}


.ruyaDocV3FilterFooter button{
  height:48px;

  margin:0;

  border-radius:14px;

  font:inherit;
  font-size:14px;
  font-weight:680;
}


.ruyaDocV3Clear{
  border:1px solid var(--rdv3-line);

  background:#fff;

  color:#153462;
}


.ruyaDocV3Apply{
  border:0;

  background:var(--rdv3-blue);

  color:#fff;
}


/* ==========================================================
   ANIMATION
   ========================================================== */

@keyframes ruyaDocV3Fade{
  from{opacity:0}
  to{opacity:1}
}

@keyframes ruyaDocV3SheetUp{
  from{
    transform:translateY(30px);
    opacity:.65
  }
  to{
    transform:translateY(0);
    opacity:1
  }
}


/* ==========================================================
   DESKTOP
   ========================================================== */

@media(min-width:761px){

  .ruyaDocV3Overlay{
    align-items:center;

    padding:25px;
  }

  .ruyaDocV3Sheet{
    max-height:82vh;

    border-radius:25px;
  }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media(max-width:760px){

  html body .ruyaDocumentsPage .uploadedDocumentCard,
  html body .ruyaLearningMaterialPage .learningUploadCard{
    min-height:76px!important;

    padding:13px 15px!important;
  }

  html body .ruyaDocumentsPage .v5Intro h1,
  html body .ruyaLearningMaterialPage .ruyaLearningCleanHeaderCopy h1{
    font-size:24px!important;
  }

}

/* ==========================================================
   RÜYA DOCUMENTS MODERN V3.2
   - Back kaldırıldı
   - Header standardize edildi
   - Empty state modernize edildi
   ========================================================== */


/* ----------------------------------------------------------
   DOKÜMANLARA DÖN
---------------------------------------------------------- */

html body .ruyaContentHubBack{
  display:none!important;
  visibility:hidden!important;
  width:0!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

html body .ruyaContentHubSubView{
  padding-top:0!important;
  margin-top:0!important;
}


/* ----------------------------------------------------------
   SAYFA BAŞLIKLARI
---------------------------------------------------------- */

html body .ruyaDocumentsPage .v5Intro{
  padding:4px 0 20px!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

html body .ruyaDocumentsPage .v5Intro h1{
  margin:0 0 7px!important;

  color:#102b59!important;

  font-size:26px!important;
  line-height:1.16!important;
  font-weight:700!important;

  letter-spacing:-.45px!important;
}

html body .ruyaDocumentsPage .v5Intro p{
  margin:0!important;

  color:#718198!important;

  font-size:14.5px!important;
  line-height:1.45!important;
  font-weight:450!important;
}


html body .ruyaLearningMaterialPage .ruyaLearningCleanHeader{
  display:block!important;

  width:100%!important;

  padding:4px 0 20px!important;
  margin:0!important;

  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

html body .ruyaLearningMaterialPage .ruyaLearningCleanHeaderCopy{
  margin:0 0 20px!important;
}

html body .ruyaLearningMaterialPage .ruyaLearningCleanHeaderCopy h1{
  margin:0 0 7px!important;

  color:#102b59!important;

  font-size:26px!important;
  line-height:1.16!important;
  font-weight:700!important;

  letter-spacing:-.45px!important;
}

html body .ruyaLearningMaterialPage .ruyaLearningCleanHeaderCopy p{
  margin:0!important;

  color:#718198!important;

  font-size:14.5px!important;
  line-height:1.45!important;
  font-weight:450!important;
}


/* ----------------------------------------------------------
   HEADER: ARAMA + FİLTRE
   ALTTA TAM GENİŞLİK YÜKLE
---------------------------------------------------------- */

html body .ruyaDocV32Header{
  display:grid!important;

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

  gap:10px!important;

  width:100%!important;
  min-width:0!important;

  align-items:center!important;
}

html body .ruyaDocV32Header .ruyaDocHeaderSearch,
html body .ruyaDocV32Header .ruyaLearningHeaderSearch{
  width:100%!important;
  min-width:0!important;

  margin:0!important;
}

html body .ruyaDocV32Header .ruyaLearningHeaderSearch > span{
  display:none!important;
}

html body .ruyaDocV32Header input[type="search"]{
  width:100%!important;
  min-width:0!important;

  height:48px!important;

  margin:0!important;
  padding:0 15px!important;

  border:1px solid #dfe7f1!important;
  border-radius:14px!important;

  background:#fff!important;

  color:#102b59!important;

  font-size:14px!important;
  font-weight:500!important;

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

html body .ruyaDocV32Header input[type="search"]:focus{
  border-color:#adc2df!important;

  box-shadow:
    0 0 0 3px
    rgba(30,76,142,.065)!important;
}


/* FILTER */

html body .ruyaDocV32Header .ruyaDocV3FilterButton,
html body .ruyaDocV32Header .ruyaDocV32FilterButton{
  display:flex!important;

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

  min-width:88px!important;
  height:48px!important;

  margin:0!important;
  padding:0 15px!important;

  border:1px solid #dfe7f1!important;
  border-radius:14px!important;

  background:#fff!important;

  color:#0b3f91!important;

  font:inherit!important;
  font-size:13.5px!important;
  font-weight:680!important;

  white-space:nowrap!important;

  box-shadow:none!important;
}

html body .ruyaDocV32Header .ruyaDocV3FilterButton:disabled,
html body .ruyaDocV32Header .ruyaDocV32FilterButton:disabled{
  opacity:.52!important;
}


/* UPLOAD */

html body .ruyaDocV32Header .ruyaDocV32Upload{
  grid-column:1/-1!important;

  display:flex!important;

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

  width:100%!important;
  min-width:0!important;
  min-height:48px!important;

  margin:0!important;

  border-radius:14px!important;
}


/* ----------------------------------------------------------
   EMPTY STATE
---------------------------------------------------------- */

html body .ruyaDocV32Empty{
  display:block!important;

  width:100%!important;
  min-height:0!important;

  margin:18px 0 0!important;
  padding:28px 20px!important;

  border:1px solid #e4eaf2!important;
  border-radius:18px!important;

  background:#fbfcfe!important;

  box-shadow:
    0 2px 10px
    rgba(19,43,78,.02)!important;

  text-align:center!important;
}


html body .ruyaDocV32EmptyInner{
  width:100%;
  max-width:380px;

  margin:0 auto;
}


html body .ruyaDocV32EmptyTitle{
  margin:0!important;

  color:#17345f!important;

  font-size:17px!important;
  line-height:1.32!important;
  font-weight:680!important;

  letter-spacing:-.15px!important;
}


html body .ruyaDocV32EmptyText{
  margin:7px auto 0!important;

  max-width:320px;

  color:#8190a5!important;

  font-size:13.5px!important;
  line-height:1.48!important;
  font-weight:450!important;
}


html body .ruyaDocV32EmptyButton{
  display:inline-flex!important;

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

  min-height:42px!important;

  margin:17px auto 0!important;
  padding:0 18px!important;

  border:0!important;
  border-radius:12px!important;

  background:#0b3f91!important;

  color:#fff!important;

  font:inherit!important;
  font-size:13px!important;
  font-weight:650!important;

  box-shadow:none!important;
}


/* ----------------------------------------------------------
   NO RESULT
---------------------------------------------------------- */

html body .v5DocumentNoResult.ruyaDocV32NoResult{
  margin:16px 0 0!important;

  padding:22px 18px!important;

  border:1px solid #e5eaf2!important;
  border-radius:16px!important;

  background:#fbfcfe!important;

  color:#7e8da2!important;

  font-size:13.5px!important;
  line-height:1.45!important;

  text-align:center!important;

  box-shadow:none!important;
}


/* ----------------------------------------------------------
   MOBILE
---------------------------------------------------------- */

@media(max-width:760px){

  html body .ruyaDocumentsPage .v5Intro h1,
  html body .ruyaLearningMaterialPage .ruyaLearningCleanHeaderCopy h1{
    font-size:24px!important;
  }

  html body .ruyaDocumentsPage .v5Intro p,
  html body .ruyaLearningMaterialPage .ruyaLearningCleanHeaderCopy p{
    font-size:14px!important;
  }

  html body .ruyaDocV32Empty{
    margin-top:16px!important;

    padding:25px 18px!important;
  }

  html body .ruyaDocV32EmptyTitle{
    font-size:16.5px!important;
  }

  html body .ruyaDocV32EmptyText{
    font-size:13px!important;
  }

}


/* ==========================================================
   RUYA_DOCUMENT_MENU_STACK_FINAL_V35
   V330 ⋮ menu — compact trigger + sibling card stacking fix
   ========================================================== */

html body .ruyaDocumentsPage .v5DocGrid{
  overflow:visible!important;
}

html body .ruyaDocumentsPage .uploadedDocumentCard{
  position:relative!important;
  overflow:visible!important;
  z-index:1!important;
  padding-right:58px!important;
}

/* Menü açık olan kart bütün kardeş kartların üstüne çıksın */
html body .ruyaDocumentsPage
.uploadedDocumentCard:has(.ruyaDocMenu){
  z-index:2147481000!important;
}

/* Eski HF2.15 action-grid yapısını V330 için iptal et */
html body .ruyaDocumentsPage
.uploadedDocumentCard
.uploadedFileActions{
  position:absolute!important;

  top:50%!important;
  right:12px!important;
  left:auto!important;
  bottom:auto!important;

  transform:translateY(-50%)!important;

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

  grid-column:auto!important;
  grid-row:auto!important;
  grid-template-columns:none!important;

  width:34px!important;
  min-width:34px!important;
  max-width:34px!important;

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

  margin:0!important;
  padding:0!important;
  gap:0!important;

  overflow:visible!important;
  visibility:visible!important;

  z-index:2147481100!important;
}

/* Receipt gerçek butonu yalnız launcher olarak DOM'da kalsın */
html body .ruyaDocumentsPage
.ruyaDocReceiptLauncherV330{
  display:contents!important;
}

html body .ruyaDocumentsPage
.ruyaDocReceiptLauncherV330 > button{
  display:none!important;
}

/* ⋮ wrapper */
html body .ruyaDocumentsPage
.ruyaDocMenuWrap{
  position:relative!important;

  display:block!important;

  width:34px!important;
  min-width:34px!important;
  max-width:34px!important;

  height:34px!important;

  padding:0!important;
  margin:0!important;

  visibility:visible!important;
  overflow:visible!important;

  z-index:2147481200!important;
}

/* ⋮ button */
html body .ruyaDocumentsPage
button.ruyaDocMenuButton{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;

  width:34px!important;
  min-width:34px!important;
  max-width:34px!important;

  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;

  padding:0!important;
  margin:0!important;

  border:1px solid #dfe5ed!important;
  border-radius:10px!important;

  background:#fff!important;
  background-image:none!important;

  color:#42526a!important;

  box-shadow:none!important;

  font-size:20px!important;
  font-weight:700!important;
  line-height:1!important;

  visibility:visible!important;
  opacity:1!important;
}

/* Açılan menü */
html body .ruyaDocumentsPage
.ruyaDocMenu{
  position:absolute!important;

  top:41px!important;
  right:0!important;
  left:auto!important;
  bottom:auto!important;

  width:196px!important;
  min-width:196px!important;
  max-width:196px!important;

  display:flex!important;
  flex-direction:column!important;

  gap:2px!important;

  margin:0!important;
  padding:6px!important;

  overflow:visible!important;

  background:#fff!important;

  border:1px solid #e4e8ef!important;
  border-radius:12px!important;

  box-shadow:
    0 14px 34px rgba(15,35,65,.18)!important;

  z-index:2147483000!important;
}

/* Menü satırları */
html body .ruyaDocumentsPage
.ruyaDocMenu
button.ruyaDocMenuItemV330{
  position:relative!important;

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

  width:100%!important;
  min-width:0!important;
  max-width:none!important;

  height:auto!important;
  min-height:40px!important;
  max-height:none!important;

  margin:0!important;
  padding:0 10px!important;

  gap:10px!important;

  border:0!important;
  border-radius:8px!important;

  background:#fff!important;
  background-image:none!important;

  color:#27364d!important;

  box-shadow:none!important;

  font-size:14px!important;
  font-weight:600!important;

  white-space:nowrap!important;
  text-align:left!important;

  visibility:visible!important;
  opacity:1!important;
}

html body .ruyaDocumentsPage
.ruyaDocMenu
button.ruyaDocMenuItemV330.danger{
  color:#dc2626!important;
}

html body .ruyaDocumentsPage
.ruyaDocMenu
button.ruyaDocMenuItemV330 svg{
  width:18px!important;
  min-width:18px!important;
  height:18px!important;
}


/* Mobile */
@media(max-width:760px){

  html body .ruyaDocumentsPage .uploadedDocumentCard{
    padding-right:56px!important;
  }

  html body .ruyaDocumentsPage
  .uploadedDocumentCard
  .uploadedFileActions{
    right:11px!important;
  }

}



/* ==========================================================
   RUYA_DOCUMENT_MENU_HITBOX_TRANSPARENT_FINAL_V36

   - görünür kutu yok
   - border yok
   - background yok
   - shadow yok
   - 34x34 gerçek dokunma alanı
   - açık menü kardeş kartların üzerinde
   ========================================================== */


/* Grid / kart clipping kapalı */
html body .ruyaDocumentsPage .v5DocGrid{
  overflow:visible!important;
}


html body .ruyaDocumentsPage .uploadedDocumentCard{
  position:relative!important;
  overflow:visible!important;
  z-index:1!important;

  padding-right:55px!important;
}


/* Açık menüsü olan kart diğer kartların üzerine çıksın */
html body .ruyaDocumentsPage
.uploadedDocumentCard:has(.ruyaDocMenu){
  z-index:2147481000!important;
}


/*
 Eski document-modern pseudo layer sağdaki dokunma
 alanını yakalamasın.
*/
html body .ruyaDocumentsPage
.uploadedDocumentCard::after{
  pointer-events:none!important;
}


/* ==========================================================
   ACTION COLUMN
   ========================================================== */

html body .ruyaDocumentsPage
.uploadedDocumentCard
.uploadedFileActions{

  position:absolute!important;

  top:50%!important;
  right:11px!important;
  left:auto!important;
  bottom:auto!important;

  transform:translateY(-50%)!important;

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

  grid-column:auto!important;
  grid-row:auto!important;
  grid-template-columns:none!important;

  width:34px!important;
  min-width:34px!important;
  max-width:34px!important;

  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;

  padding:0!important;
  margin:0!important;

  gap:0!important;

  overflow:visible!important;
  visibility:visible!important;

  pointer-events:auto!important;

  z-index:2147481100!important;
}


/* ==========================================================
   HIDDEN RECEIPT LAUNCHER
   ========================================================== */

html body .ruyaDocumentsPage
.ruyaDocReceiptLauncherV330{
  display:contents!important;
}


html body .ruyaDocumentsPage
.ruyaDocReceiptLauncherV330 > button{
  display:none!important;
}


/* ==========================================================
   ⋮ WRAPPER
   ========================================================== */

html body .ruyaDocumentsPage
.ruyaDocMenuWrap{

  position:relative!important;

  display:block!important;

  width:34px!important;
  min-width:34px!important;
  max-width:34px!important;

  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;

  padding:0!important;
  margin:0!important;

  visibility:visible!important;
  overflow:visible!important;

  pointer-events:auto!important;

  z-index:2147482000!important;
}


/* ==========================================================
   ⋮ BUTTON
   GÖRSEL OLARAK TAMAMEN ZEMİNSİZ
   ========================================================== */

html body .ruyaDocumentsPage
button.ruyaDocMenuButton{

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

  position:relative!important;

  width:34px!important;
  min-width:34px!important;
  max-width:34px!important;

  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;

  padding:0!important;
  margin:0!important;

  border:0!important;
  border-width:0!important;
  border-style:none!important;
  border-color:transparent!important;

  border-radius:0!important;

  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;

  box-shadow:none!important;

  outline:none!important;

  color:#42526a!important;

  font-size:22px!important;
  font-weight:700!important;
  line-height:1!important;

  letter-spacing:0!important;

  visibility:visible!important;
  opacity:1!important;

  pointer-events:auto!important;
  touch-action:manipulation!important;

  cursor:pointer!important;

  -webkit-tap-highlight-color:transparent!important;
  -webkit-appearance:none!important;
  appearance:none!important;

  z-index:2147482500!important;
}


/* Hover/focus/touch durumlarında da zemin çıkmasın */

html body .ruyaDocumentsPage
button.ruyaDocMenuButton:hover,

html body .ruyaDocumentsPage
button.ruyaDocMenuButton:focus,

html body .ruyaDocumentsPage
button.ruyaDocMenuButton:focus-visible,

html body .ruyaDocumentsPage
button.ruyaDocMenuButton:active{

  border:0!important;

  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;

  box-shadow:none!important;

  outline:none!important;

  color:#253b59!important;
}


/* ==========================================================
   AÇILAN MENU
   ========================================================== */

html body .ruyaDocumentsPage
.ruyaDocMenu{

  position:absolute!important;

  top:40px!important;
  right:0!important;

  left:auto!important;
  bottom:auto!important;

  width:196px!important;
  min-width:196px!important;
  max-width:196px!important;

  display:flex!important;
  flex-direction:column!important;

  gap:2px!important;

  margin:0!important;
  padding:6px!important;

  background:#fff!important;
  background-image:none!important;

  border:1px solid #e4e8ef!important;
  border-radius:12px!important;

  box-shadow:
    0 14px 34px rgba(15,35,65,.18)!important;

  overflow:visible!important;

  visibility:visible!important;

  pointer-events:auto!important;

  z-index:2147483000!important;
}


/* ==========================================================
   MENU SATIRLARI
   ========================================================== */

html body .ruyaDocumentsPage
.ruyaDocMenu
button.ruyaDocMenuItemV330{

  position:relative!important;

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

  width:100%!important;
  min-width:0!important;
  max-width:none!important;

  height:auto!important;
  min-height:40px!important;
  max-height:none!important;

  padding:0 10px!important;
  margin:0!important;

  gap:10px!important;

  border:0!important;
  border-radius:8px!important;

  background:#fff!important;
  background-image:none!important;

  color:#27364d!important;

  box-shadow:none!important;

  font-size:14px!important;
  font-weight:600!important;
  line-height:1.25!important;

  text-align:left!important;
  white-space:nowrap!important;

  visibility:visible!important;
  opacity:1!important;

  pointer-events:auto!important;
  touch-action:manipulation!important;

  cursor:pointer!important;

  z-index:2147483100!important;
}


html body .ruyaDocumentsPage
.ruyaDocMenu
button.ruyaDocMenuItemV330:hover{

  background:#f4f6f9!important;
}


/* Sil */

html body .ruyaDocumentsPage
.ruyaDocMenu
button.ruyaDocMenuItemV330.danger{

  color:#dc2626!important;
}


html body .ruyaDocumentsPage
.ruyaDocMenu
button.ruyaDocMenuItemV330.danger:hover{

  background:#fff5f5!important;
}


/* İkonlar */

html body .ruyaDocumentsPage
.ruyaDocMenu
button.ruyaDocMenuItemV330 svg{

  width:18px!important;
  min-width:18px!important;
  max-width:18px!important;

  height:18px!important;

  flex:0 0 18px!important;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media(max-width:760px){

  html body .ruyaDocumentsPage
  .uploadedDocumentCard{

    padding-right:52px!important;
  }


  html body .ruyaDocumentsPage
  .uploadedDocumentCard
  .uploadedFileActions{

    right:8px!important;

    width:34px!important;
    min-width:34px!important;
    max-width:34px!important;

    height:34px!important;
  }


  html body .ruyaDocumentsPage
  button.ruyaDocMenuButton{

    width:34px!important;
    min-width:34px!important;
    max-width:34px!important;

    height:34px!important;
    min-height:34px!important;
    max-height:34px!important;

    border:0!important;

    background:transparent!important;
    background-color:transparent!important;

    box-shadow:none!important;
  }

}



/* ==========================================================
   RUYA_DOCUMENT_ACTIONS_ISOLATED_CSS_V37

   Yeni V330 action alanı eski:
   - uploadedFileActions
   - HF2.14
   - HF2.15
   - Document V3
   - Density Modal
   kurallarından tamamen bağımsızdır.
   ========================================================== */


/* Kart clipping yapmasın */

html body .ruyaDocumentsPage .v5DocGrid{
  overflow:visible!important;
}


html body .ruyaDocumentsPage
.uploadedDocumentCard{

  position:relative!important;
  overflow:visible!important;

  padding-right:52px!important;

  z-index:1!important;
}


/* Açık menüsü olan kart üstte */

html body .ruyaDocumentsPage
.uploadedDocumentCard:has(.ruyaDocMenu){

  z-index:2147481000!important;
}


/* Eski kart pseudo layer dokunmayı tutmasın */

html body .ruyaDocumentsPage
.uploadedDocumentCard::before,

html body .ruyaDocumentsPage
.uploadedDocumentCard::after{

  pointer-events:none!important;
}


/* ==========================================================
   YENİ İZOLE ACTION ROOT
   ========================================================== */

html body .ruyaDocumentsPage
.uploadedDocumentCard
.ruyaDocActionsV330{

  position:absolute!important;

  top:50%!important;
  right:8px!important;
  left:auto!important;
  bottom:auto!important;

  transform:translateY(-50%)!important;

  display:block!important;

  grid-column:auto!important;
  grid-row:auto!important;

  width:34px!important;
  min-width:34px!important;
  max-width:34px!important;

  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;

  padding:0!important;
  margin:0!important;

  border:0!important;
  border-radius:0!important;

  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;

  box-shadow:none!important;

  overflow:visible!important;
  visibility:visible!important;

  pointer-events:auto!important;

  z-index:2147482000!important;

  box-sizing:border-box!important;
}


/* Action root'un kendi pseudo elementleri de yok */

html body .ruyaDocumentsPage
.ruyaDocActionsV330::before,

html body .ruyaDocumentsPage
.ruyaDocActionsV330::after{

  content:none!important;
  display:none!important;
}


/* ==========================================================
   RECEIPT LAUNCHER
   ========================================================== */

html body .ruyaDocumentsPage
.ruyaDocActionsV330
.ruyaDocReceiptLauncherV330{

  display:contents!important;
}


html body .ruyaDocumentsPage
.ruyaDocActionsV330
.ruyaDocReceiptLauncherV330 > button{

  display:none!important;
}


/* ==========================================================
   MENU WRAPPER
   ========================================================== */

html body .ruyaDocumentsPage
.ruyaDocActionsV330
.ruyaDocMenuWrap{

  position:relative!important;

  display:block!important;

  width:34px!important;
  min-width:34px!important;
  max-width:34px!important;

  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;

  padding:0!important;
  margin:0!important;

  border:0!important;
  border-radius:0!important;

  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;

  box-shadow:none!important;

  overflow:visible!important;
  visibility:visible!important;

  pointer-events:auto!important;

  z-index:2147482500!important;
}


/* ==========================================================
   ⋮ BUTTON
   TAMAMEN ZEMİNSİZ
   ========================================================== */

html body .ruyaDocumentsPage
.ruyaDocActionsV330
button.ruyaDocMenuButton{

  all:unset!important;

  box-sizing:border-box!important;

  position:relative!important;

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

  width:34px!important;
  min-width:34px!important;
  max-width:34px!important;

  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;

  padding:0!important;
  margin:0!important;

  border:0!important;
  border-radius:0!important;

  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;

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

  color:#45566f!important;

  font-family:inherit!important;
  font-size:22px!important;
  font-weight:700!important;
  line-height:1!important;

  text-align:center!important;

  visibility:visible!important;
  opacity:1!important;

  pointer-events:auto!important;
  touch-action:manipulation!important;

  cursor:pointer!important;

  -webkit-appearance:none!important;
  appearance:none!important;

  -webkit-tap-highlight-color:transparent!important;

  z-index:2147483000!important;
}


/* Hiçbir durumda zemin çıkmasın */

html body .ruyaDocumentsPage
.ruyaDocActionsV330
button.ruyaDocMenuButton:hover,

html body .ruyaDocumentsPage
.ruyaDocActionsV330
button.ruyaDocMenuButton:focus,

html body .ruyaDocumentsPage
.ruyaDocActionsV330
button.ruyaDocMenuButton:focus-visible,

html body .ruyaDocumentsPage
.ruyaDocActionsV330
button.ruyaDocMenuButton:active{

  border:0!important;

  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;

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

  color:#263d5c!important;
}


/* ==========================================================
   AÇILAN MENU
   ========================================================== */

html body .ruyaDocumentsPage
.ruyaDocActionsV330
.ruyaDocMenu{

  position:absolute!important;

  top:38px!important;
  right:0!important;

  left:auto!important;
  bottom:auto!important;

  width:196px!important;
  min-width:196px!important;
  max-width:196px!important;

  display:flex!important;
  flex-direction:column!important;

  gap:2px!important;

  margin:0!important;
  padding:6px!important;

  border:1px solid #e4e8ef!important;
  border-radius:12px!important;

  background:#fff!important;
  background-color:#fff!important;
  background-image:none!important;

  box-shadow:
    0 14px 34px rgba(15,35,65,.18)!important;

  overflow:visible!important;
  visibility:visible!important;

  pointer-events:auto!important;

  z-index:2147483500!important;

  box-sizing:border-box!important;
}


/* ==========================================================
   MENU ITEMS
   ========================================================== */

html body .ruyaDocumentsPage
.ruyaDocActionsV330
.ruyaDocMenu
button.ruyaDocMenuItemV330{

  all:unset!important;

  box-sizing:border-box!important;

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

  width:100%!important;
  min-width:0!important;
  max-width:none!important;

  min-height:40px!important;

  padding:0 10px!important;
  margin:0!important;

  gap:10px!important;

  border-radius:8px!important;

  background:#fff!important;

  color:#27364d!important;

  font-family:inherit!important;
  font-size:14px!important;
  font-weight:600!important;
  line-height:1.2!important;

  white-space:nowrap!important;

  pointer-events:auto!important;
  touch-action:manipulation!important;

  cursor:pointer!important;

  -webkit-tap-highlight-color:transparent!important;
}


html body .ruyaDocumentsPage
.ruyaDocActionsV330
.ruyaDocMenu
button.ruyaDocMenuItemV330:hover{

  background:#f4f6f9!important;
}


/* Sil */

html body .ruyaDocumentsPage
.ruyaDocActionsV330
.ruyaDocMenu
button.ruyaDocMenuItemV330.danger{

  color:#dc2626!important;
}


html body .ruyaDocumentsPage
.ruyaDocActionsV330
.ruyaDocMenu
button.ruyaDocMenuItemV330.danger:hover{

  background:#fff5f5!important;
}


/* Menü ikonları */

html body .ruyaDocumentsPage
.ruyaDocActionsV330
.ruyaDocMenuItemV330 svg{

  width:18px!important;
  min-width:18px!important;
  max-width:18px!important;

  height:18px!important;

  flex:0 0 18px!important;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media(max-width:760px){

  html body .ruyaDocumentsPage
  .uploadedDocumentCard{

    padding-right:50px!important;
  }


  html body .ruyaDocumentsPage
  .uploadedDocumentCard
  .ruyaDocActionsV330{

    right:7px!important;

    width:34px!important;
    min-width:34px!important;
    max-width:34px!important;

    height:34px!important;
  }


  html body .ruyaDocumentsPage
  .ruyaDocActionsV330
  button.ruyaDocMenuButton{

    width:34px!important;
    min-width:34px!important;
    max-width:34px!important;

    height:34px!important;
    min-height:34px!important;
    max-height:34px!important;
  }

}



/* ==========================================================
   RUYA_DOCUMENT_MENU_UNIVERSAL_CSS_V38

   Desktop / Android / iOS / tablet / touch laptop:
   aynı DOM + aynı native button click.
   ========================================================== */


/* ==========================================================
   CARD
   ========================================================== */

html body .ruyaDocumentsPage
.v5DocGrid{
  overflow:visible!important;
}


html body .ruyaDocumentsPage
.uploadedDocumentCard{

  position:relative!important;

  overflow:visible!important;

  /*
    Sağda aksiyon şeridi için güvenli boşluk.
    Metin ⋮ ile iç içe girmez.
  */
  padding-right:64px!important;

  z-index:1!important;
}


/* Menü açık kart kardeş kartların üstünde */

html body .ruyaDocumentsPage
.uploadedDocumentCard.ruyaDocMenuOpenV330{

  z-index:2147482000!important;
}


/* Eski dekoratif katmanlar dokunmayı engellemesin */

html body .ruyaDocumentsPage
.uploadedDocumentCard::before,

html body .ruyaDocumentsPage
.uploadedDocumentCard::after{

  pointer-events:none!important;
}


/* ==========================================================
   TEXT AREA
   ========================================================== */

html body .ruyaDocumentsPage
.uploadedDocumentCard
> .ruyaDocTextV330{

  position:relative!important;

  min-width:0!important;
  max-width:100%!important;
  width:auto!important;

  margin:0!important;
  padding:0 6px 0 0!important;

  overflow:hidden!important;

  pointer-events:auto!important;

  z-index:1!important;

  box-sizing:border-box!important;
}


/* Başlık */

html body .ruyaDocumentsPage
.ruyaDocTextV330 > b{

  display:block!important;

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

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


/* Açıklama */

html body .ruyaDocumentsPage
.ruyaDocTextV330 > p{

  display:block!important;

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

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


/* Alt bilgi */

html body .ruyaDocumentsPage
.ruyaDocTextV330 > small{

  display:block!important;

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

  margin:0!important;
  padding:0!important;

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

  box-sizing:border-box!important;
}


/* ==========================================================
   ACTION ROOT
   Sağdaki şerit kart yüksekliği boyunca gerçek layer.
   Görsel zemin YOK.
   ========================================================== */

html body .ruyaDocumentsPage
.uploadedDocumentCard
> .ruyaDocActionsV330{

  all:unset!important;

  box-sizing:border-box!important;

  position:absolute!important;

  top:0!important;
  right:4px!important;
  bottom:0!important;
  left:auto!important;

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

  width:52px!important;
  min-width:52px!important;
  max-width:52px!important;

  height:auto!important;

  margin:0!important;
  padding:0!important;

  border:0!important;
  border-radius:0!important;

  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;

  box-shadow:none!important;

  overflow:visible!important;
  visibility:visible!important;

  pointer-events:auto!important;

  z-index:2147482500!important;
}


/* ==========================================================
   HIDDEN RECEIPT LAUNCHER
   ========================================================== */

html body .ruyaDocumentsPage
.ruyaDocActionsV330
.ruyaDocReceiptLauncherV330{

  display:contents!important;
}


html body .ruyaDocumentsPage
.ruyaDocActionsV330
.ruyaDocReceiptLauncherV330 > button{

  display:none!important;
}


/* ==========================================================
   MENU WRAPPER
   Sağ aksiyon şeridinin TAM ORTASINDA.
   ========================================================== */

html body .ruyaDocumentsPage
.ruyaDocActionsV330
.ruyaDocMenuWrap{

  all:unset!important;

  box-sizing:border-box!important;

  position:relative!important;

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

  width:40px!important;
  min-width:40px!important;
  max-width:40px!important;

  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;

  margin:0!important;
  padding:0!important;

  border:0!important;

  background:transparent!important;

  box-shadow:none!important;

  overflow:visible!important;

  pointer-events:auto!important;

  z-index:2147482700!important;
}


/* ==========================================================
   ⋮ BUTTON
   Daha görünür + zemin yok + native button click.
   ========================================================== */

html body .ruyaDocumentsPage
.ruyaDocActionsV330
button.ruyaDocMenuButton{

  all:unset!important;

  box-sizing:border-box!important;

  position:relative!important;

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

  /*
    Görsel merkez + rahat evrensel hitbox
  */
  width:40px!important;
  min-width:40px!important;
  max-width:40px!important;

  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;

  margin:0!important;
  padding:0!important;

  border:0!important;
  border-radius:0!important;

  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;

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

  /*
    Öncekinden daha belirgin
  */
  color:#173b6d!important;

  font-family:inherit!important;
  font-size:27px!important;
  font-weight:800!important;
  line-height:1!important;

  text-align:center!important;

  visibility:visible!important;
  opacity:1!important;

  pointer-events:auto!important;

  touch-action:manipulation!important;

  cursor:pointer!important;

  -webkit-appearance:none!important;
  appearance:none!important;

  -webkit-tap-highlight-color:transparent!important;

  z-index:2147483000!important;
}


/* Hover / focus / active:
   hiçbir cihazda arka zemin oluşmasın */

html body .ruyaDocumentsPage
.ruyaDocActionsV330
button.ruyaDocMenuButton:hover,

html body .ruyaDocumentsPage
.ruyaDocActionsV330
button.ruyaDocMenuButton:focus,

html body .ruyaDocumentsPage
.ruyaDocActionsV330
button.ruyaDocMenuButton:focus-visible,

html body .ruyaDocumentsPage
.ruyaDocActionsV330
button.ruyaDocMenuButton:active{

  border:0!important;

  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;

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

  color:#0b2f63!important;
}


/* ==========================================================
   MENU
   ========================================================== */

html body .ruyaDocumentsPage
.ruyaDocActionsV330
.ruyaDocMenu{

  all:unset!important;

  box-sizing:border-box!important;

  position:absolute!important;

  top:calc(100% + 4px)!important;
  right:0!important;

  left:auto!important;
  bottom:auto!important;

  width:196px!important;
  min-width:196px!important;
  max-width:196px!important;

  display:flex!important;
  flex-direction:column!important;

  gap:2px!important;

  margin:0!important;
  padding:6px!important;

  border:1px solid #e4e8ef!important;
  border-radius:12px!important;

  background:#fff!important;
  background-color:#fff!important;

  box-shadow:
    0 14px 34px rgba(15,35,65,.18)!important;

  overflow:visible!important;
  visibility:visible!important;

  pointer-events:auto!important;

  z-index:2147483600!important;
}


/* ==========================================================
   MENU ITEMS
   ========================================================== */

html body .ruyaDocumentsPage
.ruyaDocActionsV330
.ruyaDocMenu
button.ruyaDocMenuItemV330{

  all:unset!important;

  box-sizing:border-box!important;

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

  width:100%!important;
  min-width:0!important;
  max-width:none!important;

  min-height:40px!important;

  margin:0!important;
  padding:0 10px!important;

  gap:10px!important;

  border-radius:8px!important;

  background:#fff!important;

  color:#27364d!important;

  font-family:inherit!important;
  font-size:14px!important;
  font-weight:600!important;
  line-height:1.2!important;

  white-space:nowrap!important;

  pointer-events:auto!important;
  touch-action:manipulation!important;

  cursor:pointer!important;

  -webkit-tap-highlight-color:transparent!important;
}


html body .ruyaDocumentsPage
.ruyaDocActionsV330
.ruyaDocMenu
button.ruyaDocMenuItemV330:hover{

  background:#f4f6f9!important;
}


/* Sil */

html body .ruyaDocumentsPage
.ruyaDocActionsV330
.ruyaDocMenu
button.ruyaDocMenuItemV330.danger{

  color:#dc2626!important;
}


html body .ruyaDocumentsPage
.ruyaDocActionsV330
.ruyaDocMenu
button.ruyaDocMenuItemV330.danger:hover{

  background:#fff5f5!important;
}


/* İkon */

html body .ruyaDocumentsPage
.ruyaDocActionsV330
.ruyaDocMenuItemV330 svg{

  width:18px!important;
  min-width:18px!important;
  max-width:18px!important;

  height:18px!important;

  flex:0 0 18px!important;
}


/* ==========================================================
   SMALL SCREENS
   Cihaz tipi değil, yalnız viewport.
   ========================================================== */

@media(max-width:760px){

  html body .ruyaDocumentsPage
  .uploadedDocumentCard{

    padding-right:62px!important;
  }


  html body .ruyaDocumentsPage
  .uploadedDocumentCard
  > .ruyaDocActionsV330{

    right:2px!important;
    width:54px!important;
    min-width:54px!important;
    max-width:54px!important;
  }

}



/* ==========================================================
   RUYA_DOCUMENT_MENU_PORTAL_CSS_V39

   Menü document.body altında render edilir.
   Kart / grid / sibling stacking contextlerinden bağımsızdır.
   ========================================================== */

body > .ruyaDocMenuPortalV39{

  box-sizing:border-box!important;

  position:fixed!important;

  width:196px!important;
  min-width:196px!important;
  max-width:196px!important;

  display:flex!important;
  flex-direction:column!important;

  gap:2px!important;

  margin:0!important;
  padding:6px!important;

  border:1px solid #e4e8ef!important;
  border-radius:12px!important;

  background:#fff!important;
  background-color:#fff!important;
  background-image:none!important;

  box-shadow:
    0 14px 38px rgba(15,35,65,.20)!important;

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

  max-height:calc(100dvh - 16px)!important;

  visibility:visible!important;
  opacity:1!important;

  pointer-events:auto!important;

  transform:none!important;

  z-index:2147483647!important;
}


/* Portal item */

body > .ruyaDocMenuPortalV39
button.ruyaDocMenuItemV330{

  all:unset!important;

  box-sizing:border-box!important;

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

  width:100%!important;
  min-width:0!important;
  max-width:none!important;

  min-height:40px!important;

  margin:0!important;
  padding:0 10px!important;

  gap:10px!important;

  border-radius:8px!important;

  background:#fff!important;

  color:#27364d!important;

  font-family:inherit!important;
  font-size:14px!important;
  font-weight:600!important;
  line-height:1.2!important;

  text-align:left!important;
  white-space:nowrap!important;

  pointer-events:auto!important;
  touch-action:manipulation!important;

  cursor:pointer!important;

  -webkit-tap-highlight-color:transparent!important;
}


body > .ruyaDocMenuPortalV39
button.ruyaDocMenuItemV330:hover{

  background:#f4f6f9!important;
}


/* Sil */

body > .ruyaDocMenuPortalV39
button.ruyaDocMenuItemV330.danger{

  color:#dc2626!important;
}


body > .ruyaDocMenuPortalV39
button.ruyaDocMenuItemV330.danger:hover{

  background:#fff5f5!important;
}


/* İkon */

body > .ruyaDocMenuPortalV39
.ruyaDocMenuItemV330 svg{

  width:18px!important;
  min-width:18px!important;
  max-width:18px!important;

  height:18px!important;

  flex:0 0 18px!important;
}


/* Küçük viewportta menü ekran dışına taşmasın */

@media(max-width:420px){

  body > .ruyaDocMenuPortalV39{

    width:min(196px,calc(100vw - 16px))!important;
    min-width:0!important;
    max-width:calc(100vw - 16px)!important;
  }

}



/* ==========================================================
   RUYA_DOCUMENT_CARD_SPACING_V40
   - metadata daha erken ellipsis
   - ⋮ için ferah sağ alan
   - ⋮ kartta dikey tam merkez
   ========================================================== */


/* Sağ aksiyon alanına biraz daha nefes */

html body .ruyaDocumentsPage
.uploadedDocumentCard{
  padding-right:72px!important;
}


/* Alt açıklama ⋮ noktasına yaklaşmadan bitsin */

html body .ruyaDocumentsPage
.uploadedDocumentCard
> .ruyaDocTextV330
> small{

  display:block!important;

  width:calc(100% - 30px)!important;
  max-width:calc(100% - 30px)!important;

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

  padding-right:0!important;
}


/* ==========================================================
   ⋮ AKSİYON ALANI
   Kart yüksekliğinin TAM merkezinde
   ========================================================== */

html body .ruyaDocumentsPage
.uploadedDocumentCard
> .ruyaDocActionsV330{

  top:50%!important;
  right:6px!important;
  bottom:auto!important;
  left:auto!important;

  transform:translateY(-50%)!important;

  width:52px!important;
  min-width:52px!important;
  max-width:52px!important;

  height:48px!important;
  min-height:48px!important;
  max-height:48px!important;

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

  margin:0!important;
  padding:0!important;

  background:transparent!important;

  overflow:visible!important;
}


/* Wrapper da tam merkez */

html body .ruyaDocumentsPage
.ruyaDocActionsV330
.ruyaDocMenuWrap{

  position:relative!important;

  width:40px!important;
  min-width:40px!important;
  max-width:40px!important;

  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;

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

  margin:0!important;
  padding:0!important;
}


/* ⋮ kendisi */

html body .ruyaDocumentsPage
.ruyaDocActionsV330
button.ruyaDocMenuButton{

  width:40px!important;
  min-width:40px!important;
  max-width:40px!important;

  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;

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

  margin:0!important;
  padding:0!important;

  color:#173b6d!important;

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

  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}


/* Küçük ekranlarda da aynı mantık */

@media(max-width:760px){

  html body .ruyaDocumentsPage
  .uploadedDocumentCard{
    padding-right:70px!important;
  }

  html body .ruyaDocumentsPage
  .uploadedDocumentCard
  > .ruyaDocActionsV330{
    right:4px!important;
  }

  html body .ruyaDocumentsPage
  .ruyaDocTextV330
  > small{

    width:calc(100% - 34px)!important;
    max-width:calc(100% - 34px)!important;
  }

}

