/* RUYA_GALLERY_MEDIA_LIKES_CSS_V1 */

.ruyaGalleryMediaLikeControl{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    min-width:44px;
    height:34px;
    padding:0 11px;
    border-radius:999px;
    box-sizing:border-box;
    font-size:14px;
    line-height:1;
    font-weight:600;
    font-variant-numeric:tabular-nums;
    white-space:nowrap;
    user-select:none;
    -webkit-user-select:none;
}

.ruyaGalleryMediaLikeControl .heart{
    font-size:18px;
    line-height:1;
}

.ruyaGalleryMediaLikeControl.parent{
    appearance:none;
    -webkit-appearance:none;
    border:1px solid rgba(255,255,255,.28);
    background:rgba(15,23,42,.62);
    color:#fff;
    cursor:pointer;
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
}

.ruyaGalleryMediaLikeControl.parent.liked .heart{
    color:#ef4444;
}

.ruyaGalleryMediaLikeControl.parent:disabled{
    opacity:.65;
    cursor:default;
}

.ruyaGalleryMediaLikeControl.staff{
    border:0;
    background:rgba(15,23,42,.72);
    color:#fff;
    pointer-events:none;
    backdrop-filter:blur(9px);
    -webkit-backdrop-filter:blur(9px);
}

.ruyaGalleryMediaLikeControl.staff .heart{
    color:#ef4444;
}


/* Parent fullscreen */
.v23ParentAlbumFullscreenHead
.ruyaGalleryMediaLikeControl.fullscreenParent{
    flex:0 0 auto;
    margin-left:auto;
}


/* Admin / Yönetici medya hücreleri */
.ruyaAdminAlbumMediaItem{
    position:relative;
}

.ruyaAdminAlbumMediaItem
.ruyaGalleryMediaLikeControl.adminGrid{
    position:absolute;
    left:10px;
    bottom:10px;
    z-index:5;
    min-width:40px;
    height:30px;
    padding:0 9px;
    box-shadow:0 4px 18px rgba(0,0,0,.18);
}


/* Admin büyük foto viewer */
.ruyaGalleryMediaLikeControl.staffFullscreen{
    position:fixed;
    left:max(18px,env(safe-area-inset-left));
    bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px));
    z-index:2147483646;
    min-width:50px;
    height:36px;
    box-shadow:0 6px 24px rgba(0,0,0,.3);
}


/* Öğretmen / Koordinatör preview */
.ruyaTeacherAlbumPreviewV3{
    position:relative;
}

.ruyaTeacherAlbumPreviewV3
.ruyaGalleryMediaLikeControl.teacherPreview{
    position:absolute;
    left:18px;
    bottom:18px;
    z-index:20;
    min-width:44px;
    height:32px;
    box-shadow:0 5px 20px rgba(0,0,0,.2);
}


@media (max-width:700px){
    .v23ParentAlbumFullscreenHead
    .ruyaGalleryMediaLikeControl.fullscreenParent{
        min-width:42px;
        height:32px;
        padding:0 9px;
    }

    .ruyaTeacherAlbumPreviewV3
    .ruyaGalleryMediaLikeControl.teacherPreview{
        left:12px;
        bottom:12px;
    }
}
