/* =========================================================
   WISETL GLOBAL NOTIFICATION
   ========================================================= */

.wisetl-notification-overlay {
    position: fixed;
    inset: 0;

    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.55);

    backdrop-filter: blur(4px);
}


.wisetl-notification {
    width: min(420px, 100%);

    padding: 28px;

    border: 1px solid var(--border-color);
    border-radius: 16px;

    background: var(--surface-color);

    color: var(--text-color);

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);

    text-align: center;

    animation: wisetlNotificationAppear 0.18s ease-out;
}


.wisetl-notification-title {
    margin: 0 0 10px;

    color: var(--text-color);

    font-size: 1.35rem;
}


.wisetl-notification-message {
    margin: 0 auto 24px;

    color: var(--text-soft);

    line-height: 1.6;
}


.wisetl-notification-choices {
    display: flex;

    justify-content: center;

    gap: 10px;

    flex-wrap: wrap;
}


.wisetl-notification-choice {
    min-width: 100px;

    padding: 10px 20px;

    border: 1px solid var(--border-color);
    border-radius: 10px;

    background: transparent;

    color: var(--text-color);

    font-family: inherit;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


.wisetl-notification-choice:hover {
    transform: translateY(-1px);

    background: var(--gold-soft);
}


.wisetl-notification-choice.primary {
    border-color: var(--gold-primary);

    background: var(--gold-primary);

    color: #111;
}


.wisetl-notification-choice.primary:hover {
    background: var(--gold-primary);

    color: #111;
}


@keyframes wisetlNotificationAppear {

    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* =========================================================
   DARK MODE
   ========================================================= */

body.dark-mode .wisetl-notification {
    background: #181818;

    border-color: #2c2c2c;
}


body.dark-mode .wisetl-notification-message {
    color: #aaaaaa;
}


body.dark-mode .wisetl-notification-choice {
    border-color: #444;

    color: #eeeeee;
}


body.dark-mode .wisetl-notification-choice:hover {
    background: rgba(255, 255, 255, 0.06);
}


