/* General panel styling */
.sitelets-notification-overlay {
    position: fixed;
    top: 32px;
    left: 0;
    width: 100%;
    height: calc(100% - 32px);
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 9998;
}

/* Notification panel styling, following the provided design */
.sitelets-notification-panel {
    position: fixed;
    top: 32px;
    right: -400px;
    width: 400px;
    height: calc(100% - 32px);
    background: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 30px;
    overflow-y: auto;
    z-index: 9999;
    font-family: "Inter", sans-serif;
    color: var(--text-color-tabs);
    transition: right 0.3s;
}

.sitelets-notification-panel {
    max-height: 85vh; /* Optional: Limit height */
    padding-bottom: 20px; /* Space for the last notification */
}

.sitelets-notification-panel h2 {
    font-size: calc(32px * var(--font-size-resize));
    color: var(--primary-color-tabs);
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 1em;
    border-bottom: 2px solid var(--accent-color-tabs);
    padding-bottom: 10px;
}

.sitelets-notification {
    background-color: var(--bg-primary-tabs);
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sitelets-notification h3 {
    font-size: calc(24px * var(--font-size-resize));
    font-weight: bold;
    color: var(--dark-blue-tabs);
    margin-top: 0;
    margin-bottom: 10px;
}

.sitelets-notification p {
    font-size: calc(16px * var(--font-size-resize));
    color: var(--text-color-tabs);
    margin-bottom: 15px;
    line-height: 1.5;
}

.sitelets-notification a {
    font-size: calc(16px * var(--font-size-resize));
    color: var(--primary-color-tabs);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

.sitelets-notification a:hover {
    color: var(--color-hover-btn);
}

/* Close button styling */
.sitelets-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary-color-tabs);
    transition: color 0.3s;
}

.sitelets-close-btn:hover {
    color: var(--primary-color-tabs);
}

/* Loading Spinner */
.sitelets-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: var(--primary-color-tabs);
    animation: sitelets-spin 1s ease infinite;
    margin: 20px auto;
}

/* Spinner Animation */
@keyframes sitelets-spin {
    to {
        transform: rotate(360deg);
    }
}
