.notification-container {
    position: relative;
}

.notification-btn {
    background: var(--Cenape-Blue) !important;
    border: none;
    cursor: pointer;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}
.notification-btn2 {
    /*background: var(--Cenape-Blue) !important;*/
    border: none;
    cursor: pointer;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}
.notification-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.notification-btn i {
    font-size: 18px;
}

.notification-badge {
    position: absolute;
    background-color: #ff0000 !important;
    color: white;
    border-radius: 50%;
    font-size: 11px;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-weight: bold;
    width: 20px;
    height: 20px;
    display: flex;
    top: -5px;
    right: -5px;
}

.notification-badge:not(.empty) {
    display: flex;
}

.notification-badge.pulse {
    animation: pulse 1.5s infinite;
}

.notification-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    width: 350px;
    max-height: 500px;
    overflow-y: auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
}

.notification-dropdown.show {
    display: block;
}

.notification-header {
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 16px;
    font-weight: 600;
}

.notification-list {
    padding: 0;
}

.notification-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.notification-item:hover {
    background-color: #f5f5f5;
}

.notification-item.read {
    opacity: 0.8 !important;
}

.notification-item.unread {
    background-color: #f8faff !important;
    border-left: 3px solid #3f80ea !important;
    font-weight: 500 !important;
}

.unread-indicator {
    position: absolute !important;
    left: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 8px !important;
    height: 8px !important;
    background-color: #3f80ea !important;
    border-radius: 50% !important;
}

.notification-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.notification-title {
    font-weight: 500;
    font-size: 15px;
    color: #333;
    white-space: normal;
    overflow: visible;
}

.notification-item.unread .notification-title {
    color: #1a3e8c !important;
    font-weight: 400 !important;
}

.notification-message {
    font-size: 0.6em;
    color: #666;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-time {
    font-size: 0.5em;
    color: #6c757d;
}

.notification-university-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 15px;
    /*margin-right: 10px;*/
}

.notification-default-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: #6c757d;
}

.no-notifications {
    padding: 20px;
    text-align: center;
    color: #909090;
    font-size: 14px;
}

.view-all-notifications {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #f8faff !important;
    text-decoration: none;
    font-size: 0.4em;
}

.view-all-notifications:hover {
    background-color: rgba(8, 41, 214, 0.48);
}

.view-all-notifications i {
    font-size: 0.5em;
}

.view-all-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #1a3e8c !important;
    font-size: 14px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.notification-item-container {
    display: flex;
    align-items: flex-start;
    width: 100%;
    gap: 10px;
    padding: 10px 15px;
}
@media (max-width: 991.98px) {
    .notification-container {
        position: relative;
        display: inline-block;
    }

    .notification-btn, .notification-btn2 {
        background: transparent !important;
    }

    .notification-btn i, .notification-btn2 i {
        color: var(--Cenape-Blue) !important;
    }

   /* .notification-dropdown {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        width: auto !important;
        max-height: 70vh !important;
        border-radius: 10px 10px 0 0 !important;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2) !important;
    }*/

    .notification-header {
        position: sticky;
        top: 0;
        background: white;
        z-index: 1;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

/*    .notification-header::after {
        content: "×";
        font-size: 24px;
        cursor: pointer;
        color: #6c757d;
    }*/

    .notification-item {
        padding: 10px 15px !important;
    }

    .notification-item-container {
        gap: 8px !important;
        padding: 5px 10px !important;
    }

    .notification-university-logo {
        width: 45px !important;
        height: 45px !important;
        margin-left: 0 !important;
        margin-right: 10px !important;
    }

    .notification-content {
        padding: 0 8px !important;
    }

    .notification-title {
        font-size: 0.85rem !important;
        line-height: 1.2 !important;
    }

    .notification-message {
        font-size: 0.75rem !important;
        margin-bottom: 3px !important;
        white-space: normal !important;
        line-height: normal;
    }

    .notification-time {
        font-size: 0.65rem !important;
        line-height: normal;
    }

  /*  .unread-indicator {
        left: 3px !important;
        top: 20px !important;
    }
*/
    .view-all-notifications {
        padding: 12px !important;
        font-size: 0.9rem !important;
        justify-content: center !important;
        line-height: normal;
    }

    .view-all-text {
        font-size: 0.9rem !important;
    }
}