/* Aydınlık Tema */
:root {
    --notification-bar-bg-color: #F9F5F6;
    --left-button-color: #FDCEDF;
    --right-button-color: #0f0f0f;
    --right-button-text-color: #fff;
    --not-text-color: #0f0f0f;
    --right-button-hover-color: #FDCEDF;
    --right-button-text-hover-color: #333;
}

/* Karanlık Tema */
.dark-mode {
    --notification-bar-bg-color: #1f2122;
    --left-button-color: #e7587b;
    --right-button-color: #fff;
    --right-button-text-color: #0f0f0f;
    --not-text-color: #fff;
    --right-button-hover-color: #e7587b;
    --right-button-text-hover-color: #fff;
}

/* Notification Bar */
.notification-bar {
    background: var(--notification-bar-bg-color);
    text-align: center;
    height: 10px;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    padding-top: 15px;
    padding-bottom: 15px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

/* Sol Buton */
.notification-left-btn {
    background: none;
    font-size: 8px;
    border: 1px solid var(--left-button-color);
    color: var(--left-button-color);
    padding: 2px 10px;
    cursor: pointer;
    border-radius: 25px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.notification-left-btn:disabled {
    cursor: default;
}

/* Metin */
.notification-bar p {
    color: var(--not-text-color);
    font-size: 10px;
    font-weight: 600;
    margin: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Sağ Buton */
.notification-right-btn {
    background: var(--right-button-color);
    font-size: 12px;
    color: var(--right-button-text-color);
    padding: 5px 15px;
    cursor: pointer;
    border-radius: 25px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.notification-right-btn:hover {
    background: var(--right-button-hover-color);
    color: var(--right-button-text-hover-color);
}

/* Animasyon: Tüm öğeler aynı anda kaybolup tekrar belirecek */
.notification-left-btn, .notification-bar p, .notification-right-btn {
    transform: translateY(100%);
    opacity: 0;
    animation: slideUp 0.5s ease-out forwards;
}

/* Yukarı kayarak kaybolma */
@keyframes slideDown {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
}

/* Aşağıdan yukarı doğru gelme */
@keyframes slideUp {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
