.sti-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: stiFadeIn .25s ease-out;
}

.sti-modal-overlay.sti-modal-hide {
    opacity: 0;
    transition: opacity .3s ease-in;
}

.sti-modal {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, .35);
    width: 90%;
    max-width: 440px;
    padding: 32px 28px 26px;
    text-align: center;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    color: var(--color-text-primary);
    animation: stiPopIn .3s ease-out;
}

.sti-modal-icon {
    width: 64px;
    height: 64px;
    line-height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    color: #fff;
    font-size: 32px;
    font-weight: bold;
}

.sti-modal-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
}

.sti-modal-text {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 22px;
}

.sti-modal-btn {
    display: inline-block;
    min-width: 120px;
    padding: 10px 26px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.sti-modal-btn:hover {
    filter: brightness(1.12);
}

.sti-success .sti-modal-icon,
.sti-success .sti-modal-btn {
    background: #2e7d32;
}

.sti-success .sti-modal-title {
    color: #2e7d32;
}

.sti-error .sti-modal-icon,
.sti-error .sti-modal-btn {
    background: #c62828;
}

.sti-error .sti-modal-title {
    color: #c62828;
}

@keyframes stiFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes stiPopIn {
    from { opacity: 0; transform: scale(.85); }
    to   { opacity: 1; transform: scale(1); }
}
