/* RUYA_ADMIN_GALLERY_PREMIUM_V1_20261009 */

.v5Page .ruyaAdminGalleryHead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin:0 0 24px;
  padding:0;
}

.v5Page .ruyaAdminGalleryTitle{
  min-width:260px;
  flex:1;
}

.v5Page .ruyaAdminGalleryTitle h1{
  margin:0 0 7px;
  color:#18243d;
  font-size:28px;
  line-height:1.15;
  font-weight:700;
  letter-spacing:-.5px;
}

.v5Page .ruyaAdminGalleryTitle p{
  margin:0;
  max-width:640px;
  color:#7a8497;
  font-size:13px;
  line-height:1.5;
  font-weight:450;
}

.v5Page .ruyaAdminGalleryToolbar{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}

.v5Page .ruyaAdminGallerySearch,
.v5Page .ruyaAdminGallerySelect{
  height:42px;
  box-sizing:border-box;
  border:1px solid #e3e7ef;
  border-radius:11px;
  background:#fff;
  color:#25314a;
  font:500 13px/1.2 inherit;
  outline:none;
  transition:.16s ease;
}

.v5Page .ruyaAdminGallerySearch{
  width:190px;
  padding:0 14px;
}

.v5Page .ruyaAdminGallerySelect{
  min-width:135px;
  padding:0 34px 0 13px;
  cursor:pointer;
}

.v5Page .ruyaAdminGallerySearch:focus,
.v5Page .ruyaAdminGallerySelect:focus{
  border-color:#98a8c0;
  box-shadow:0 0 0 3px rgba(30,48,78,.06);
}

.v5Page .ruyaAdminGalleryNew{
  height:42px;
  padding:0 18px;
  border:0;
  border-radius:11px;
  background:#182947;
  color:#fff;
  font-size:13px;
  font-weight:650;
  cursor:pointer;
  white-space:nowrap;
  box-shadow:0 7px 18px rgba(24,41,71,.12);
}

.v5Page .ruyaAdminGalleryNew:hover{
  background:#213656;
  transform:translateY(-1px);
}

.v5Page .ruyaAdminGalleryGrid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
  align-items:start;
}

.v5Page .ruyaAdminGalleryCard{
  position:relative;
  display:block!important;
  width:100%!important;
  min-width:0;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  border:1px solid #e9edf3!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 7px 22px rgba(25,39,62,.055)!important;
  cursor:pointer;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}

.v5Page .ruyaAdminGalleryCard:hover{
  transform:translateY(-2px);
  border-color:#dde3ec!important;
  box-shadow:0 12px 30px rgba(25,39,62,.085)!important;
}

.v5Page .ruyaAdminGalleryCard .albumCoverButton{
  position:relative;
  display:block;
  width:100%!important;
  aspect-ratio:16/9!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:15px 15px 0 0!important;
  background:#edf1f6!important;
  cursor:pointer;
}

.v5Page .ruyaAdminGalleryCard .albumCoverButton img,
.v5Page .ruyaAdminGalleryCard .albumCoverButton video{
  display:block;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  transition:transform .25s ease;
}

.v5Page .ruyaAdminGalleryCard:hover .albumCoverButton img,
.v5Page .ruyaAdminGalleryCard:hover .albumCoverButton video{
  transform:scale(1.015);
}

.v5Page .ruyaAdminGalleryCard .albumCoverButton>span{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  font-size:30px;
}

.v5Page .ruyaAdminGalleryCard .albumCoverButton>i{
  position:absolute!important;
  right:12px!important;
  bottom:11px!important;
  z-index:3;
  display:inline-flex!important;
  align-items:center;
  min-height:27px;
  padding:0 10px!important;
  margin:0!important;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px!important;
  background:rgba(20,31,50,.78)!important;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  color:#fff!important;
  font-size:10.5px!important;
  font-style:normal!important;
  font-weight:600!important;
  line-height:1!important;
  box-shadow:none!important;
}

.v5Page .ruyaAdminGalleryCard .albumCardInfo{
  position:relative;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:12px!important;
  width:100%!important;
  min-height:104px;
  padding:14px 15px 15px!important;
  box-sizing:border-box;
}

.v5Page .ruyaAdminGalleryCard .albumCardInfo>div:first-child{
  min-width:0;
  flex:1;
  padding-right:38px;
}

.v5Page .ruyaAdminGalleryCard .albumCardInfo b{
  display:block;
  margin:0 0 7px!important;
  overflow:hidden;
  color:#17233d!important;
  font-size:15px!important;
  line-height:1.25!important;
  font-weight:680!important;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.v5Page .ruyaAdminGalleryCard .ruyaAdminGalleryMeta{
  margin:0 0 7px!important;
  overflow:hidden;
  color:#69758a!important;
  font-size:11.5px!important;
  line-height:1.35!important;
  font-weight:500!important;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.v5Page .ruyaAdminGalleryCard .ruyaAdminGalleryCounts{
  margin:0!important;
  color:#98a1b0!important;
  font-size:10.5px!important;
  line-height:1.3!important;
  font-weight:500!important;
}

.v5Page .ruyaAdminGalleryCard .albumCardInfo>div:last-child{
  position:absolute;
  top:12px;
  right:12px;
  z-index:20;
}

.v5Page .ruyaAdminGalleryMenuWrap{
  position:relative;
}

.v5Page .ruyaAdminGalleryMore{
  display:flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  padding:0 0 7px!important;
  border:1px solid #e5e9ef!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#6d778a!important;
  font-size:17px!important;
  font-weight:700!important;
  letter-spacing:1px;
  cursor:pointer;
  box-shadow:0 4px 12px rgba(25,39,62,.06);
}

.v5Page .ruyaAdminGalleryMore:hover{
  background:#f7f9fc!important;
  color:#24324b!important;
}

.v5Page .ruyaAdminGalleryMenu{
  position:absolute;
  top:38px;
  right:0;
  z-index:100;
  width:158px;
  padding:6px;
  border:1px solid #e5e9ef;
  border-radius:12px;
  background:#fff;
  box-shadow:0 14px 35px rgba(19,31,51,.15);
}

.v5Page .ruyaAdminGalleryMenu button{
  display:block;
  width:100%;
  margin:0!important;
  padding:9px 10px!important;
  border:0!important;
  border-radius:8px!important;
  background:transparent!important;
  color:#344057!important;
  font-size:12px!important;
  font-weight:550!important;
  text-align:left;
  cursor:pointer;
}

.v5Page .ruyaAdminGalleryMenu button:hover{
  background:#f4f6f9!important;
}

.v5Page .ruyaAdminGalleryMenu button.danger{
  color:#c94855!important;
}

.v5Page .ruyaAdminGalleryMenu button.danger:hover{
  background:#fff1f2!important;
}

@media (max-width:1250px){
  .v5Page .ruyaAdminGalleryHead{
    align-items:flex-start;
    flex-direction:column;
  }

  .v5Page .ruyaAdminGalleryToolbar{
    width:100%;
    justify-content:flex-start;
  }

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

@media (max-width:760px){
  .v5Page .ruyaAdminGalleryTitle h1{
    font-size:23px;
  }

  .v5Page .ruyaAdminGalleryToolbar{
    display:grid;
    grid-template-columns:1fr 1fr;
  }

  .v5Page .ruyaAdminGallerySearch{
    grid-column:1/-1;
    width:100%;
  }

  .v5Page .ruyaAdminGallerySelect,
  .v5Page .ruyaAdminGalleryNew{
    width:100%;
  }

  .v5Page .ruyaAdminGalleryGrid{
    grid-template-columns:minmax(0,1fr)!important;
    gap:15px!important;
  }
}

/* RUYA_ADMIN_GALLERY_PREMIUM_V2_20261009 */

/* Referanstaki tek parça üst panel */
.v5Page .ruyaAdminGalleryHead{
  align-items:center!important;
  margin:0 0 18px!important;
  padding:20px 22px!important;
  border:1px solid #e7ebf1!important;
  border-radius:17px!important;
  background:#fff!important;
  box-shadow:0 5px 18px rgba(25,39,62,.035)!important;
}

.v5Page .ruyaAdminGalleryTitle h1{
  font-size:25px!important;
  font-weight:700!important;
}

.v5Page .ruyaAdminGalleryToolbar{
  flex-wrap:nowrap!important;
}

/* Menü görselin sağ üstünde */
.v5Page .ruyaAdminGalleryCard{
  position:relative!important;
}

.v5Page .ruyaAdminGalleryCard .albumCardInfo{
  position:static!important;
}

.v5Page .ruyaAdminGalleryCard .albumCardInfo>div:last-child{
  position:static!important;
}

.v5Page .ruyaAdminGalleryCard .ruyaAdminGalleryMenuWrap{
  position:absolute!important;
  top:12px!important;
  right:12px!important;
  z-index:30!important;
}

.v5Page .ruyaAdminGalleryMore{
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 4px 14px rgba(20,31,50,.12)!important;
}

/* Kartları referanstaki kadar kompakt tut */
.v5Page .ruyaAdminGalleryCard .albumCardInfo{
  min-height:96px!important;
  padding:13px 15px 14px!important;
}

.v5Page .ruyaAdminGalleryCard .albumCardInfo>div:first-child{
  padding-right:0!important;
}

@media(max-width:1250px){
  .v5Page .ruyaAdminGalleryHead{
    align-items:flex-start!important;
  }

  .v5Page .ruyaAdminGalleryToolbar{
    flex-wrap:wrap!important;
  }
}

/* RUYA_ADMIN_GALLERY_LOAD_MORE_V1_20261009 */
.v5Page .ruyaAdminGalleryLoadMore{
  display:flex;
  justify-content:center;
  width:100%;
  margin:24px 0 8px;
}

.v5Page .ruyaAdminGalleryLoadMore button{
  min-width:190px;
  height:42px;
  padding:0 20px;
  border:1px solid #dfe5ed;
  border-radius:11px;
  background:#fff;
  color:#34445e;
  font-size:12.5px;
  font-weight:650;
  cursor:pointer;
  box-shadow:0 5px 16px rgba(25,39,62,.05);
}

.v5Page .ruyaAdminGalleryLoadMore button:hover{
  background:#f7f9fc;
  border-color:#d3dbe7;
}

.v5Page .ruyaAdminGalleryLoadMore button:disabled{
  opacity:.6;
  cursor:default;
}

/* RUYA_ADMIN_GALLERY_MODAL_VIEWPORT_CENTER_V1_20261009 */

html body .albumDetailBack{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100dvh!important;
  z-index:2147482500!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:24px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  background:rgba(17,27,45,.52)!important;
}

html body .albumDetailModal{
  position:relative!important;
  inset:auto!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  transform:none!important;
  margin:0!important;
  width:min(1100px,92vw)!important;
  max-width:1100px!important;
  max-height:88dvh!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  border-radius:20px!important;
  background:#fff!important;
}

html body .albumDetailModal .albumMediaViewer{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
}


/* RUYA_ADMIN_ALBUM_MODAL_PREMIUM_V2_20261009 */

html body .ruyaAdminAlbumModal{
  width:min(1080px,92vw)!important;
  max-width:1080px!important;
  max-height:86dvh!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid rgba(225,230,238,.9)!important;
  border-radius:20px!important;
  box-shadow:0 26px 70px rgba(14,25,43,.24)!important;
}

html body .ruyaAdminAlbumModalHead{
  position:relative;
  flex:0 0 auto;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  padding:18px 54px 14px 20px;
  border-bottom:1px solid #edf0f4;
  background:#fff;
}

html body .ruyaAdminAlbumModalTitle{
  min-width:0;
  flex:1;
}

html body .ruyaAdminAlbumModalTitle h3{
  margin:0 0 7px!important;
  color:#17233d!important;
  font-size:16px!important;
  line-height:1.25!important;
  font-weight:680!important;
}

html body .ruyaAdminAlbumDescriptionWrap{
  position:relative;
}

html body .ruyaAdminAlbumDescription{
  display:-webkit-box;
  margin:0!important;
  overflow:hidden;
  color:#6f7b8f!important;
  font-size:11px!important;
  line-height:1.55!important;
  font-weight:450!important;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

html body .ruyaAdminAlbumDescription.open{
  display:block;
  overflow:visible;
  -webkit-line-clamp:unset;
}

html body .ruyaAdminAlbumDescriptionToggle{
  margin:5px 0 0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#29467e!important;
  font-size:10.5px!important;
  font-weight:650!important;
  cursor:pointer;
}

html body .ruyaAdminAlbumModalClose{
  position:absolute!important;
  top:14px!important;
  right:16px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  padding:0 0 2px!important;
  border:1px solid #e4e8ef!important;
  border-radius:10px!important;
  background:#f7f9fc!important;
  color:#667287!important;
  font-size:21px!important;
  line-height:1!important;
  font-weight:400!important;
  cursor:pointer!important;
  box-shadow:none!important;
}

html body .ruyaAdminAlbumModalClose:hover{
  background:#eef2f7!important;
  color:#23324b!important;
}

html body .ruyaAdminAlbumModal .albumMediaViewer{
  flex:1 1 auto!important;
  min-height:0!important;
  margin:0!important;
  padding:16px 18px 18px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  background:#fafbfc!important;
}

html body .ruyaAdminAlbumMediaGrid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  align-content:start!important;
}

html body .ruyaAdminAlbumMediaItem{
  display:block!important;
  width:100%!important;
  aspect-ratio:4/3!important;
  min-width:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #e5e9ef!important;
  border-radius:13px!important;
  background:#edf1f5!important;
  cursor:pointer!important;
  box-shadow:0 4px 12px rgba(25,39,62,.04)!important;
}

html body .ruyaAdminAlbumMediaItem img,
html body .ruyaAdminAlbumMediaItem video{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  border:0!important;
  border-radius:0!important;
}

html body .ruyaAdminAlbumMediaItem:hover img{
  transform:scale(1.015);
}

html body .ruyaAdminAlbumMediaItem img{
  transition:transform .18s ease;
}

html body .ruyaAdminAlbumMediaItem.video{
  cursor:default!important;
}

@media(max-width:850px){
  html body .ruyaAdminAlbumMediaGrid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:560px){
  html body .albumDetailBack{
    padding:12px!important;
  }

  html body .ruyaAdminAlbumModal{
    width:100%!important;
    max-height:90dvh!important;
    border-radius:16px!important;
  }

  html body .ruyaAdminAlbumModalHead{
    padding:15px 48px 12px 15px!important;
  }

  html body .ruyaAdminAlbumMediaGrid{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }

  html body .ruyaAdminAlbumModal .albumMediaViewer{
    padding:12px!important;
  }
}

/* RUYA_ADMIN_ALBUM_DYNAMIC_SIZE_V1 */

html body .ruyaAdminAlbumCount-1{
  width:min(470px,92vw)!important;
}

html body .ruyaAdminAlbumCount-1 .ruyaAdminAlbumMediaGrid{
  grid-template-columns:1fr!important;
}

html body .ruyaAdminAlbumCount-2{
  width:min(720px,92vw)!important;
}

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

html body .ruyaAdminAlbumCount-3{
  width:min(980px,92vw)!important;
}

html body .ruyaAdminAlbumCount-4{
  width:min(760px,92vw)!important;
}

html body .ruyaAdminAlbumCount-4 .ruyaAdminAlbumMediaGrid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}

html body .ruyaAdminAlbumCount-5{
  width:min(1080px,92vw)!important;
}


/* RUYA_ADMIN_GALLERY_4_COL_V1_20261009 */

.v5Page .ruyaAdminGalleryGrid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
}

.v5Page .ruyaAdminGalleryCard .albumCardInfo{
  min-height:88px!important;
  padding:11px 12px 12px!important;
}

.v5Page .ruyaAdminGalleryCard .albumCardInfo b{
  font-size:13.5px!important;
}

.v5Page .ruyaAdminGalleryCard .ruyaAdminGalleryMeta{
  font-size:10.5px!important;
}

.v5Page .ruyaAdminGalleryCard .ruyaAdminGalleryCounts{
  font-size:10px!important;
}

@media(max-width:1500px){
  .v5Page .ruyaAdminGalleryGrid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}

@media(max-width:1050px){
  .v5Page .ruyaAdminGalleryGrid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:650px){
  .v5Page .ruyaAdminGalleryGrid{
    grid-template-columns:1fr!important;
  }
}

/* RUYA_GALLERY_MODAL_CENTER_MONO_V2_20261009 */

html body .uploadViewportBack,
html body .albumManageBack{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100dvh!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:20px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  background:rgba(17,27,45,.52)!important;
}

html body .albumUploadModal .mediaDropField{
  border-color:#cfd7e3!important;
  background:#f8fafc!important;
}

html body .albumUploadModal .mediaDropField:hover{
  border-color:#8394ad!important;
  background:#f4f7fa!important;
}

html body .albumUploadModal .mediaDropField label{
  color:#18345f!important;
  font-weight:650!important;
}

html body .albumManageModal .teacherMediaMode{
  background:#f5f7fa!important;
  border-color:#dfe5ed!important;
}

html body .albumManageModal .teacherMediaMode button{
  color:#6f7b8e!important;
  background:transparent!important;
}

html body .albumManageModal .teacherMediaMode button.active{
  color:#18345f!important;
  background:#fff!important;
  border:1px solid #cbd6e5!important;
  box-shadow:0 3px 10px rgba(25,48,83,.06)!important;
}

html body .albumUploadModal .uploadModalFooter .btn,
html body .albumManageModal .albumManageFooter .btn{
  background:#173867!important;
  border-color:#173867!important;
  color:#fff!important;
}

html body .albumUploadModal,
html body .albumManageModal{
  position:relative!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  transform:none!important;
  margin:0!important;
}

