﻿/* Content/custom-alert.css */
.fixed-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: #d4edda; /* default success bg */
    color: #155724;
    padding: 23px 31px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    z-index: 9999;
    font-weight: 700;
    font-size: 18px;
    max-width: 90%;
    word-wrap: break-word;
    opacity: 0;
    transition: opacity 300ms ease, transform 300ms ease;
    display: block;
}

    /* show state */
    .fixed-message.show {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    /* success / error */
    .fixed-message.success {
        background: #28a745;
        color: #ffffff;
    }

    .fixed-message.error {
        background: #dc3545;
        color: #ffffff;
    }

/* close button */
.fixed-msg-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.95);
    font-size: 20px;
    cursor: pointer;
    padding: 0 6px;
}
