.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    height: 10%;
    background-color: white;
}


.logo {
    flex-grow: 0;
    flex-shrink: 0;
    width: 8%; /* Logo ve buton genişliği %8 */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 8%;
}

.logo {
    margin-top: 0;
    height: 3vw; /* Logo boyutunu ihtiyacınıza göre ayarlayın */
    width: 3vw;
    margin-top: 5px;
    margin-bottom: 5px;
}


.logo img {
    max-width: 100%;
    max-height: 100%;
}

.login-button {
    background: white;
    color: #2d4eb5;
    border: 1px solid #2d4eb5;
    padding: 5px 30px;
    cursor: pointer;
    border-radius: 20px; /* Bu değeri istediğiniz yarıçap büyüklüğüne göre ayarlayabilirsiniz */

}

.kredi-yukle-button {
    background: #2e4eb5;
    color: white;
    border: 1px solid #2e4eb5;
    padding: 5px 30px;
    cursor: pointer;
    border-radius: 20px; /* Bu değeri istediğiniz yarıçap büyüklüğüne göre ayarlayabilirsiniz */
    margin-top: 1%;
    margin-left: auto;
}

.login-button:hover {
    background: #2e4eb5;
    color: white;
}

.kredi-yukle-button:hover {
    opacity: 0.9;
    box-shadow: 0px 0px 7px 3px rgba(46, 78, 181, 0.3); /* Yatay gölge, dikey gölge, yayılma yarıçapı, renk */
}

.menu a {
    color: #2e4eb5;
    text-decoration: none;
    padding: 0 10px; /* Linkler arası yatay boşluk */
    font-weight: 300;
}

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 85%; /* Tam genişlik */
    font-size: 1vw;
}

.menu-left {
    flex: 1; /* Sol konteynerin geri kalan tüm alanı kaplamasını sağlar */
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: space-around; /* Sol konteynerdeki öğeleri sola yasla */
}

.menu-right {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-end; /* Sağ konteynerdeki öğeleri sağa yasla */
    margin-right: 8%;
}


.menu a:hover {
    color: gray !important; /* Fare üzerindeyken rengi değişir */
    text-decoration: none;
}

.hamburger-menu {
    display: none; /* Başlangıçta gizli */
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    color: #2d4eb5;
    box-shadow: none;
    padding: 0;
}

.menu {
    display: flex; /* Menüyü göster */
    transition: max-height 0.3s ease-out; /* Animasyon için */
}

.navbar {
    box-shadow: 0px 12px 14px 3px rgba(46, 78, 181, 0.3); /* Yatay gölge, dikey gölge, yayılma yarıçapı, renk */
}


.zil-icon {
    width: 19px; /* İkonun genişliğini ayarla */
    height: 24px; /* İkonun yüksekliğini ayarla */
    margin-right: 10px; /* Sağdaki "Kredi Yükle" butonundan biraz boşluk bırak */
    margin-left: 10px;
    vertical-align: middle; /* Diğer öğelerle aynı hizada olmasını sağla */
    cursor: pointer;
}

.notification-panel {
    position: fixed;
    top: 12%; /* Butonunuzun yüksekliğine göre ayarlayın */
    right: 7.5%;
    width: 410px; /* İstediğiniz genişliği ayarlayın */
    max-height: 400px;
    overflow-y: auto;
    border-radius: 15px;
    background-color: #fff;
    box-shadow: 0 0 10px rgb(45, 78, 181, 0.2);
    display: none; /* Başlangıçta gizli */
    z-index: 1005;
    padding-bottom: 10px;
}

.notification-item {
    color: #2d4eb5;
    margin: 0 10px;
    padding: 10px;
    border-radius: 5px;

}

.notification-item:nth-child(even) {
    background-color: #d9deef; /* Gri renk */
}

.notification-item {
    /* Başlangıçta varsayılan stil değerleri */
    transition: all 0.3s ease; /* Yumuşak geçiş efekti için */
}

.notification-item:hover {
    background-color: #f5f5f5;
    box-shadow: 0 4px 8px rgba(46, 78, 181, 0.4); /* Gölge efekti */
    font-size: 1.01em; /* Yazıyı %10 büyüt */
}


.time-info {
    display: block; /* Yeni satırda göster */
    font-size: 0.6em; /* Küçük yazı boyutu */
    margin-top: 0; /* Üstten biraz boşluk */
    color: #2d4eb5; /* Gri bir renk tonu */
}

.notification-container {
    position: relative;
    display: inline-block;
}

.notification-badge {
    display: none;
    position: absolute;
    top: -6px;
    right: -3px;
    background-color: #df4446;
    color: white;
    border-radius: 50%;
    width: 20px; /* Yuvarlak arka planın genişliği */
    height: 20px; /* Yuvarlak arka planın yüksekliği */
    font-size: 10px;
    cursor: pointer;
    text-align: center;
    line-height: 20px; /* Yuvarlak arka planın yüksekliği ile aynı olmalı */
}

.faq-icon {
    display: inline-block;
    background-color: #2e4eb5; /* Zilin rengiyle uyumlu bir mavi ton */
    color: white;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
}

.faq-icon:hover {
    background-color: #2d4eb5e7; /* Hover durumunda hafif renk değişimi */
}

.faq-link {
    text-decoration: none;
}


@media (max-width: 768px) {
    .notification-container2 {
        position: absolute;
        display: inline-block;
        top: 12px;
        right: 45px;

    }

    .zil-icon {
        width: 15px; /* İkonun genişliğini ayarla */
        height: 19px; /* İkonun yüksekliğini ayarla */
        margin-right: 10px; /* Sağdaki "Kredi Yükle" butonundan biraz boşluk bırak */
        margin-left: 10px;
        vertical-align: middle; /* Diğer öğelerle aynı hizada olmasını sağla */
        cursor: pointer;
    }

    .notification-panel {
        top: 6%; /* Butonunuzun yüksekliğine göre ayarlayın */
        right: 7.5%;
        width: 80%; /* İstediğiniz genişliği ayarlayın */
        max-height: 70%;
        padding-bottom: 10px;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .logo {
        margin: 0;
        height: 7vw;
        width: auto;
    }

    .menu {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
        font-size: 3vw;
        padding: 10px 30px;
    }

    .menu-left, .menu-right {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        justify-content: flex-start;
    }

    .menu a, .kredi-yukle-button, .login-button {
        width: 100%;
        text-align: left;
        margin-bottom: 10px;
    }

    .login-button, .kredi-yukle-button {
        margin-left: 0;
        margin-right: 0;
    }

    .hamburger-menu {
        display: block; /* Mobilde göster */
        top: 0;
    }

    .menu {
        display: none; /* Mobilde başlangıçta gizli */
        flex-direction: column; /* Dikey hizalama */
        position: absolute;
        top: 50px;
        right: 10px;
        background-color: white;
        border: 1px solid #ccc;
        z-index: 999;
    }

    .menu.open {
        display: flex; /* Açıkken göster */
    }

}
