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

.notification-button {
    position: relative;
    background-color: #aa305c;
}

.notification-button img {
    vertical-align: middle;
}

.notification-counter {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--gst-background-pink);
    color: white;
    border-radius: 50%;
    padding: 2px 5px;
    font-size: 0.7rem;
    min-width: 9px;
    text-align: center;
    border: 2px solid var(--gst-background-white);
    transition: all 0.3s;
    font-weight: bold;
}

.notification-counter.hidden {
    display: none;
}

.notifmodal-container .swal2-popup {
    width: 400px;
    max-width: 95vw;
    padding-bottom: 0;
    border-radius: 20px;
    background-color: var(--gst-background-white);
}

.notifmodal-popup {
    width: 400px;
    max-width: 95vw;
    padding-bottom: 0;
    border-radius: 20px;
    background-color: var(--gst-background-white);
}

.notifmodal-container .swal2-title, 
.notifmodal-title {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 1rem;
    margin: 0;
    color: var(--gst-body-fontcolor);
    background-color: var(--gst-background-columncontainer);
    border-bottom: 1px solid var(--gst-border-ccc);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.notifmodal-container .swal2-html-container {
    margin: 0;
    padding: 0;
    overflow: hidden;
    text-align: left;
}

.notifmodal-container .swal2-close,
.notifmodal-close {
    color: var(--gst-body-fontcolor);
    right: 18px;
    top: 10px;
}

.notifmodal-container .swal2-close:hover,
.notifmodal-close:hover {
    color: var(--gst-text-pink);
}

[class^="bi-"]::before, 
[class*=" bi-"]::before {
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -0.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.bi-heart-fill::before { content: "\f415"; }
.bi-chat-fill::before { content: "\f24a"; }
.bi-gear-fill::before { content: "\f3e0"; }
.bi-megaphone-fill::before { content: "\f4e3"; }
.bi-exclamation-triangle-fill::before { content: "\f33a"; }
.bi-info-circle-fill::before { content: "\f430"; }
.bi-exclamation-circle-fill::before { content: "\f332"; }
.bi-calendar-event-fill::before { content: "\f210"; }
.bi-arrow-up-circle-fill::before { content: "\f14b"; }
.bi-bell-fill::before { content: "\f189"; }
.bi-chevron-left::before { content: "\f284"; }
.bi-chevron-right::before { content: "\f285"; }

@font-face {
    font-family: "bootstrap-icons";
    src: url("/static/fonts/bootstrap-icons.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

.notifmodal-list {
    max-height: 60vh;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    list-style: none;
}

.notifmodal-empty {
    padding: 20px;
    text-align: center;
    color: var(--gst-text-7D7D7D);
    font-size: 0.9rem;
}

.notifmodal-item {
    display: flex;
    padding: 10px;
    border-bottom: 1px solid var(--gst-border-ccc);
    cursor: pointer;
    transition: background-color 0.2s;
    background-color: var(--gst-background-white);
    position: relative;
}

.notifmodal-item:hover {
    background-color: var(--gst-gray-hover);
}

.notifmodal-item.unread {
    background-color: var(--gst-background-columncontainer);
}

.notifmodal-item.unread:hover {
    background-color: var(--gst-gray-hover);
}

.notifmodal-icon {
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.notifmodal-icon i {
    font-size: 1.2rem;
    color: var(--gst-text-pink);
}

.notifmodal-content {
    flex: 1;
}

.notifmodal-message {
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: var(--gst-body-fontcolor);
}

.notifmodal-time {
    font-size: 0.75rem;
    color: var(--gst-text-7D7D7D);
}

.notifmodal-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: var(--gst-background-columncontainer);
    border-top: 1px solid var(--gst-border-ccc);
    border-bottom: 1px solid var(--gst-border-ccc);
}

.notifmodal-pagination-info {
    margin: 0 10px;
    font-size: 0.9rem;
    color: var(--gst-body-fontcolor);
}

.notifmodal-pagination-button {
    background-color: var(--gst-background-white);
    border: 1px solid var(--gst-border-pink);
    color: var(--gst-text-pink);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    margin: 0 4px;
    transition: all 0.2s;
}

.notifmodal-pagination-button:hover {
    background-color: var(--gst-background-pink);
    color: var(--gst-text-white);
}

.notifmodal-pagination-button.active {
    background-color: var(--gst-background-pink);
    color: var(--gst-text-white);
}

.notifmodal-pagination-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.notifmodal-view-all-container {
    text-align: center;
    padding: 10px;
    background-color: var(--gst-background-columncontainer);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.notifmodal-view-all-link {
    display: block;
    color: var(--gst-text-pink);
    font-size: 0.9rem;
    text-decoration: none;
    padding: 6px 0;
    transition: all 0.3s;
    font-weight: 500;
}

.dark-mode .notifmodal-view-all-link {
    color: #D5D5D5;
    font-weight: 600;
}

.notifmodal-view-all-link:hover {
    color: var(--gst-text-pink-hover);
}

.notifmodal-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: var(--gst-background-white);
}

.notifmodal-spinner {
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--gst-border-pink);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.notifmodal-actions {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.notifmodal-open-button {
    background: none;
    border: none;
    color: var(--gst-text-color);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.notifmodal-open-button:hover {
    background-color: var(--gst-hover-color, rgba(0,0,0,0.05));
    color: var(--gst-primary-color);
}

.notifmodal-open-button i {
    font-size: 16px;
} 