
/* Overlay che copre tutta la pagina */
.ic-notifications-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-out;
}

/* Container della notifica */
.ic-notifications-modal {
    background-color: white;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 500px;
    padding: 0;
    animation: slideIn 0.3s ease-out;
    font-family: 'Atkinson Hyperlegible', sans-serif;
}

/* Header della notifica */
.ic-notifications-modal-header {
    padding: 16px 24px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ic-notifications-modal-header h3 {
    font-family: 'Atkinson Hyperlegible', sans-serif;
    font-weight: 400;
    font-size: 22px;
    margin: 0;
    text-transform: uppercase;
}

/* Contenuto della notifica */
.ic-notifications-modal-content {
    padding: 24px;
    font-size: 16px;
    line-height: 1.5;
}

/* Footer della notifica */
.ic-notifications-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Stili per i diversi tipi di notifica */
.ic-notifications-modal.success .ic-notifications-modal-header {
    background-color: #d4edda;
    color: #155724;
}

.ic-notifications-modal.warning .ic-notifications-modal-header {
    background-color: #fff3cd;
    color: #856404;
}

.ic-notifications-modal.error .ic-notifications-modal-header {
    background-color: #f8d7da;
    color: #721c24;
}

.ic-notifications-modal.info .ic-notifications-modal-header {
    background-color: #f0e7da;
}

.ic-notifications-modal.info .ic-notifications-modal-header h3 {
    color: #1e4f67;
}

/* Pulsante di chiusura */
.ic-notifications-btn-close {
    text-transform: uppercase;
}

.ic-notifications-btn-extra {
    text-transform: uppercase;
    text-decoration: none;
}

.ic-notifications-btn-close:hover,
.ic-notifications-btn-extra:hover{
    text-decoration: var(--wpex-link-decoration-line);
}


/* Animazioni */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Stili responsive */
@media (max-width: 768px) {
    .ic-notifications-modal {
        width: 95%;
        margin: 10px;
    }

    .ic-notifications-modal-header,
    .ic-notifications-modal-content,
    .ic-notifications-modal-footer {
        padding: 12px 16px;
    }
}