.s-msg {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    font-family: "Roboto Condensed", sans-serif;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}

.s-msg.is-open {
    opacity: 1;
    visibility: visible;
}

.s-msg__box {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #fff;
    color: #000;
    border-radius: 3px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 3px 10px rgba(0, 0, 0, .25);
    transform: translateY(14px) scale(.98);
    transition: transform .2s ease;
}

.s-msg.is-open .s-msg__box {
    transform: none;
}

.s-msg__bar {
    height: 6px;
    background-image: linear-gradient(180deg, #FF6C00 0%, #EB003C 100%);
}

.s-msg--success .s-msg__bar { background-image: none; background-color: #1a9f4b; }
.s-msg--info .s-msg__bar { background-image: none; background-color: #000; }

.s-msg__body {
    padding: 26px 24px 8px;
}

.s-msg__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    background-image: linear-gradient(180deg, #FF6C00 0%, #EB003C 100%);
}

.s-msg--success .s-msg__icon { background-image: none; background-color: #1a9f4b; }
.s-msg--info .s-msg__icon { background-image: none; background-color: #000; }

.s-msg__icon::before { content: "!"; }
.s-msg--success .s-msg__icon::before { content: "\2713"; }
.s-msg--info .s-msg__icon::before { content: "i"; font-style: italic; font-family: Georgia, serif; }

.s-msg__title {
    margin: 0 0 8px;
    font-family: "tallicamedium", "Roboto Condensed", sans-serif;
    font-weight: normal;
    font-size: 22px;
    line-height: 1.4;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.s-msg__text {
    margin: 0;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    white-space: pre-line;
    word-wrap: break-word;
}

.s-msg__actions {
    padding: 20px 24px 24px;
}

.s-msg__btn {
    width: 100%;
    border: 0;
    border-radius: 3px;
    padding: 13px 10px 11px;
    cursor: pointer;
    color: #fff;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 18px;
    font-weight: bold;
    background-color: #000;
    background-image: linear-gradient(180deg, #FF6C00 0%, #EB003C 100%);
}

.s-msg__btn:hover {
    background-image: linear-gradient(180deg, #EB003C 0%, #FF6C00 100%);
}

.s-msg__btn:focus-visible {
    outline: 3px solid #000;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .s-msg, .s-msg__box { transition: none; }
}
