.notification-panel {
    margin-top: 20px;
}
.notification-panel ul {
    padding: 0;
}

.allnotifications li {
    width: 100%;
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
    border-radius: 10px;
    padding: 20px;
    background-color: aqua;
}

.allnotifications button {
    background: transparent;
    border: none;
    border-radius: 6px;
}

#notificationButton {
    position: relative;
    border: none;
    border-radius: 10px;
    background: none;
    cursor: pointer;
}

#notificationDropdown {
    display: none;
    box-shadow: 0 0 4px #d1dbdf;
    position: fixed;
    top: 65px;
    left: 200px;
    background: white;
    border: 1px solid #ccc;
    opacity: 0;
    border-radius: 8px;
    width: 440px;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000000;
}

#notificationDropdown.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

#notificationDropdown ul {
    padding: 0;
}

#notificationDropdown li {
    min-width: 340px;
    margin-bottom: 8px;
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    color: #0171c2;
    background-color: #ceecff;
}
#notificationBadge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: white;
    border-radius: 50%;
    padding: 3px 7px;
    font-size: 12px;
}

.noti-btn {
    border: none;
    background: none;
}

.externalnotifications {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.externalnotifications a {
    color: black;
    font-size: 16px !important;
    margin-bottom: 10px;
    font-weight: bold;
}

.externalnotifications a:hover {
    text-decoration: none;
}

.nonotification {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f8fbfc;
    margin-top: 15px;
}

.nonotification svg {
    margin-bottom: 15px;
}

#notificationDropdown h6 {
    color: #1a1a1a;
    opacity: 0.4;
    margin-bottom: 8px;
    padding: 8px 0;
    font-size: 14px;
    letter-spacing: 0.875px;
}

.notifications_content {
    padding: 15px;
}

.markall {
    display: flex;
    justify-content: flex-end;
}
.markallasread {
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    display: block;
    cursor: pointer;
    border: none;
    background-color: transparent;
}

.select2 {
    width: 100% !important;
}
.select2-container--default .select2-selection--single {
    height: auto !important;
    border: none !important;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    padding: 12px 16px 12px 16px !important;
    background: #f8fbfc !important;
    border: 1px solid #d1dbdf !important;
    border-radius: 6px !important;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 8px !important;
}

.notifications_preferences label {
    display: flex;
    width: 20%;
    align-items: center;
    justify-content: center;
    border-radius: 6px;

    border: 1px solid #0171c2;
}

.notifications_preferences button {
    background-color: #0171c2;
    width: 20%;
    color: white;
    border-radius: 6px;
    padding: 10px;
}
.planning-item {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    margin-left: 0;
}

@media (max-width: 767px) {
    #notificationDropdown {
        top: 65px;
        left: auto;
        right: 16px;
        max-width: calc(100% - 32px);
    }
}

@media (max-width: 576px) {
    #notificationDropdown li {
        min-width: 100%;
        max-width: 100%;
    }
}
