﻿/* Üye menüsü ve bildirim zili - head içinde yüklenir (stil gecikmesi olmasın diye) */
/* Bildirim zili */
.bildirim-alan {
    float: right;
    display: flex;
    align-items: center;
    height: 32px; /* menü satırıyla aynı hizaya gelir */
    margin: 0px 0px 0px 18px;
}

.bildirim-zil {
    position: relative;
    display: block;
    font-size: 20px;
    color: #333;
    line-height: 1;
}

    .bildirim-zil:hover {
        color: #be3e41;
    }

.bildirim-sayi {
    display: none;
    position: absolute;
    top: -7px;
    right: -9px;
    min-width: 17px;
    padding: 0px 4px;
    border-radius: 9px;
    background: #be3e41;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 17px;
    text-align: center;
}

.bildirim-kutu {
    display: none;
    position: fixed;
    top: 104px;
    right: 18px;
    z-index: 99999;
    width: 360px;
    max-width: 90vw;
    max-height: 60vh;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 6px 24px rgba(0,0,0,.18);
    text-align: left;
}

    .bildirim-kutu.acik {
        display: block;
    }

.bildirim-baslik {
    padding: 10px 14px;
    border-bottom: 1px solid #ededed;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #777;
}

.bildirim-satir {
    display: flex;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid #f2f2f2;
    color: #333;
    font-size: 13px;
    line-height: 1.35;
}

    .bildirim-satir:hover {
        background: #f7f7f8;
        color: #333;
    }

    .bildirim-satir img {
        width: 46px;
        height: 46px;
        object-fit: cover;
        flex: 0 0 auto;
        background: #eee;
    }

.bildirim-bos {
    padding: 18px 14px;
    color: #888;
    font-size: 13px;
    text-align: center;
}

/* Üye menüsü: mobilde ekranın altına yapışık, uygulama tarzı menü */
.uye-mobil-bar {
    display: none;
}

@media only screen and (max-width: 991px) {
    .uye-mobil-bar {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9998;
        background: #fff;
        border-top: 1px solid #e2e2e2;
        box-shadow: 0 -2px 10px rgba(0,0,0,.12);
        padding: 0px;
        padding-bottom: env(safe-area-inset-bottom);
    }

        .uye-mobil-bar a {
flex: 1 1 0;
min-width: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 3px;
padding: 7px 2px;
color: #4d536d;
font-size: 10px;
font-weight: 700;
line-height: 1.1;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
        }

.uye-mobil-bar a:hover, .uye-mobil-bar a:focus {
    color: #be3e41;
    background: #f7f7f8;
}

.uye-mobil-bar a.aktif {
    color: #be3e41;
    box-shadow: inset 0 3px 0 0 #be3e41;
}

.uye-mobil-bar a i {
    font-size: 17px;
    opacity: .9;
}

    body {
        padding-bottom: 62px;
    }

    /* Mobilde logonun üstündeki boş beyaz şerit gizlenir */
    #top_line {
        display: none !important;
    }
}

@media only screen and (max-width: 991px) {
    /* Mobilde zil, alttaki menünün içinde */
    .bildirim-alan {
        display: none;
    }

    .bildirim-kutu {
        top: auto;
        bottom: 62px;
        left: 6px;
        right: 6px;
        width: auto;
        max-width: none;
        max-height: 55vh;
    }

    .uye-mobil-bar .bildirim-mobil {
        position: relative;
    }

        .uye-mobil-bar .bildirim-mobil .bildirim-sayi {
top: 2px;
right: 50%;
margin-right: -22px;
        }
}

@media only screen and (max-width: 360px) {
    .uye-mobil-bar a {
        font-size: 9px;
        padding: 7px 1px;
    }

        .uye-mobil-bar a i {
font-size: 16px;
        }
}

/* Pencere boyutu değişirken menü animasyonları kaymaya yol açıyordu; geçici olarak durdurulur */
body.boyut-degisiyor *,
body.boyut-degisiyor *::before,
body.boyut-degisiyor *::after {
    transition: none !important;
    animation: none !important;
}
