.ic-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
}

.ic-alert-box {
    background: white;
    border-radius: 8px;
    padding: 24px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-top: 4px solid #0073aa;
}

.ic-alert-box.is-success { border-top-color: #28a745; }
.ic-alert-box.is-warning { border-top-color: #ffb900; }
.ic-alert-box.is-error { border-top-color: #d63638; }
.ic-alert-box.is-info { border-top-color: #2271b1; }

.ic-alert-title {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 16px;
    color: #1d2327;
}

.ic-alert-content {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.ic-alert-message {
    text-align: center;
}

.ic-alert-upgrade-info {
    margin-top: 16px;
}

.ic-upgrade-button {
    display: inline-block;
    background: #0073aa;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.ic-upgrade-button:hover {
    background: #005c8a;
    color: white;
}

.ic-alert-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.ic-alert-button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.ic-alert-confirm {
    background: #0073aa;
    color: white;
}

.ic-alert-confirm:hover {
    background: #005c8a;
}

.ic-alert-cancel {
    background: #f0f0f0;
    color: #333;
}

.ic-alert-cancel:hover {
    background: #e0e0e0;
}

.ic-alert-overlay.ic-alert-processing .ic-alert-buttons {
    display: none;
}

.ic-processing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ic-processing .spinner {
    float: none;
    margin: 0;
}

/* Readable lists inside alert */
.ic-alert-content .ic-alert-list {
    margin: 8px 0 0 18px;
    padding: 0;
}
.ic-alert-content .ic-alert-list li {
    margin: 4px 0;
}

/* Progress styles */
.ic-alert-overlay.ic-alert-progress .ic-alert-buttons { display: none; }
.ic-progress {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 6px;
}
.ic-progress-bar {
    height: 100%;
    width: 0%;
    background: #2271b1;
    transition: width 0.2s ease;
}
.ic-progress-bar.is-success { background: #28a745; }
.ic-progress-bar.is-warning { background: #ffb900; }
.ic-progress-bar.is-error { background: #d63638; }
.ic-progress-bar.is-info { background: #2271b1; }
.ic-progress-text {
    margin-top: 10px;
    font-size: 12px;
    color: #50575e;
    text-align: right;
}
