/* Update Notifier Overlay */
.update-notifier-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.update-notifier-overlay.visible {
    opacity: 1;
}

.update-notifier-modal {
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.update-notifier-overlay.visible .update-notifier-modal {
    transform: scale(1);
}

.update-notifier-header {
    background: linear-gradient(135deg, #1EEBA7 0%, #00B9E8 100%);
    padding: 24px;
    text-align: center;
    position: relative;
}

.update-notifier-title {
    font-size: 28px;
    font-weight: 800;
    color: #000;
    margin: 0 0 8px 0;
    letter-spacing: 1px;
}

.update-notifier-version {
    font-size: 18px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.7);
    margin: 0;
}

.update-notifier-date {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
    margin-top: 4px;
}

.update-notifier-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #000;
    transition: all 0.2s ease;
}

.update-notifier-close:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: rotate(90deg);
}

.update-notifier-body {
    padding: 24px;
    max-height: calc(80vh - 140px);
    overflow-y: auto;
}

.changelog-section {
    margin-bottom: 24px;
}

.changelog-section:last-child {
    margin-bottom: 0;
}

.changelog-header {
    font-size: 18px;
    font-weight: 700;
    color: #1EEBA7;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.changelog-icon {
    font-size: 20px;
}

.changelog-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.changelog-list li {
    color: #ccc;
    font-size: 15px;
    line-height: 1.6;
    padding: 8px 0 8px 24px;
    position: relative;
}

.changelog-list li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: #1EEBA7;
    font-weight: bold;
}

/* Scrollbar styling */
.update-notifier-body::-webkit-scrollbar {
    width: 8px;
}

.update-notifier-body::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

.update-notifier-body::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

.update-notifier-body::-webkit-scrollbar-thumb:hover {
    background: #444;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .update-notifier-modal {
        width: 95%;
        max-height: 90vh;
    }

    .update-notifier-header {
        padding: 20px;
    }

    .update-notifier-title {
        font-size: 24px;
    }

    .update-notifier-body {
        padding: 20px;
    }

    .changelog-header {
        font-size: 16px;
    }

    .changelog-list li {
        font-size: 14px;
    }
}