.notifications-wrapper {
    position: relative;
    width: 100%;
    z-index: 50;
}

.notification-bar {
    width: 100%;
    display: block;
    position: relative;
    padding: .5rem;
}

/* Read More button styles */
button.notification-read-more {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 100px;
    white-space: nowrap;
    opacity: 1 !important;
    visibility: visible !important;
    margin-left: 1rem !important;
    text-align: center !important;
    padding: 0.5rem 1rem !important;
    line-height: 1 !important;
}

button.notification-read-more:hover {
    opacity: 0.9 !important;
}

/* Responsive styles for notification bar */
@media (max-width: 768px) {
    .notification-bar {
        padding: 0.75rem;
    }
    
    .notification-bar .py-3 {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
    
    .notification-bar svg {
        width: 1.5rem !important;
        height: 1.5rem !important;
    }

    .notification-bar .text-sm {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.5rem !important;
    }

    .notification-bar .whitespace-nowrap {
        display: none !important;
    }

    .notification-bar .font-bold {
        flex: 1 !important;
        margin-right: 0.5rem !important;
    }

    button.notification-read-more {
        min-width: 80px !important;
        width: fit-content !important;
        padding: 0.5rem 1rem !important;
        margin-left: 0 !important;
        flex-shrink: 0 !important;
        text-align: center !important;
        justify-content: center !important;
        display: inline-flex !important;
        align-items: center !important;
        line-height: 1 !important;
        flex: 0 0 auto !important;
    }

    button.notification-read-more span {
        display: inline-block !important;
        text-align: center !important;
        width: 100% !important;
    }

    .notification-close {
        position: absolute !important;
        right: 0.5rem !important;
        top: 0.5rem !important;
    }
}

@media (max-width: 480px) {
    .notification-bar {
        padding: 0.5rem;
    }
    
    .notification-bar .py-3 {
        padding-top: 0.25rem !important;
        padding-bottom: 0.25rem !important;
    }

    .notification-bar .text-sm {
        gap: 0.25rem !important;
    }

    .notification-bar .font-bold {
        font-size: 0.875rem !important;
    }

    button.notification-read-more {
        min-width: 70px !important;
        width: fit-content !important;
        padding: 0.25rem 0.75rem !important;
        font-size: 0.875rem !important;
        text-align: center !important;
        justify-content: center !important;
        display: inline-flex !important;
        align-items: center !important;
        line-height: 1 !important;
        flex: 0 0 auto !important;
    }

    button.notification-read-more span {
        display: inline-block !important;
        text-align: center !important;
        width: 100% !important;
    }

    .notification-close {
        right: 0.25rem !important;
        top: 0.25rem !important;
    }
}

#site-header {
    position: relative;
    z-index: 20;
}

.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999999;
}

.modal-container > * {
    pointer-events: auto;
}

.notification-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(32, 54, 138, 0.95);
    z-index: 999999;
}

.notification-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000000;
    background: white;
    width: 91.666667%;
    max-width: 42rem;
    max-height: 90vh;
    border-radius: 0.25rem;
    padding: 1.5rem;
    overflow-y: auto;
}

/* Responsive styles for notification modal */
@media (max-width: 768px) {
    .notification-modal {
        width: 95%;
        padding: 1rem;
        max-height: 85vh;
    }
}

@media (max-width: 480px) {
    .notification-modal {
        width: 100%;
        padding: 0.75rem;
        max-height: 80vh;
        border-radius: 0;
    }
}

.notification-modal-close {
    position: absolute;
    right: 0.25rem;
    top: 0.25rem;
    z-index: 1000001;
    padding: 0.5rem;
    cursor: pointer;
}

/* Responsive styles for close button */
@media (max-width: 480px) {
    .notification-modal-close {
        right: 0;
        top: 0;
        padding: 0.75rem;
    }
} 