.app-event-screen-lock {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.app-event-lock-card {
    width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    color: #64748b;
}

.app-event-container {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 360px;
}

.app-event-card {
    background: #fff;
    border-radius: var(--visual-radius-control);
    padding: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
    border-left: 5px solid var(--app-primary-color);
    width: 100%;
    height: 100%;
}

    .app-event-card.success { border-left-color: #22c55e; }
    .app-event-card.finished { border-left-color: #64748b; }
    .app-event-card.warning { border-left-color: yellow; }
    .app-event-card.error { border-left-color: red; }

.app-event-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.app-event-title,
.app-event-message,
.app-event-lock-card { color: #64748b; }

.app-event-message { font-size: 13px; margin-top: 4px; }

.app-event-close {
    border: none;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
}

.app-event-progress-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.app-event-progress {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: var(--visual-radius-pill);
    overflow: hidden;
}

.app-event-progress-bar {
    height: 100%;
    background: linear-gradient(135deg, var(--app-primary-color), var(--app-primary-light));
    transition: width .25s ease;
}

.app-event-card.success .app-event-progress-bar { background: #22c55e; }
.app-event-percent { font-size: 13px; font-weight: 600; }
.app-event-footer-success { font-size: 13px; margin-top: 8px; color: #16a34a; }
.app-event-footer { font-size: 13px; margin-top: 8px; }

.app-event-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 14px;
    border: 1px solid var(--app-primary-color);
    border-radius: var(--visual-radius-control);
    background: var(--app-primary-color);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.app-event-action:hover {
    background: var(--app-primary-light);
}

.app-event-action + .app-event-action {
    margin-left: 8px;
}
