/*
    Funktiornenas namn

    GAMLA: SubmitMessage
    GAMLA: SubmitMessage(
    GAMLA: SubmitMessage($output, $message_string, $class);

    SubmitMessage_green --> SubmitMessage_green($message_string);
    SubmitMessage_orange --> SubmitMessage_orange($message_string);
    SubmitMessage_red --> SubmitMessage_red($message_string);
*/

.status-contain-green {
    background: linear-gradient(to bottom right, #c7f9cc, #a8f0b6);
    border: 1px solid #33a466;
    color: #145c33;
}

.status-contain-orange {
    background: linear-gradient(to bottom right, #fff3c1, #ffe8a1);
    border: 1px solid #d49b00;
    color: #8a5c00;
}

.status-contain-red {
    background: linear-gradient(to bottom right, #ffd0d0, #ffaaaa);
    border: 1px solid #cc0000;
    color: #7a0000;
}


.status-contain-green,
.status-contain-orange,
.status-contain-red {
    font-family: "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    position: fixed;
    margin-left: 20px;
    top: 140px;
    z-index: 40;
    min-width: fit-content;
    max-width: 90%;
    cursor: pointer;
    animation: fadeIn 0.3s ease-in;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    padding: 12px 16px;
}

.status-contain-green:hover {
    background: linear-gradient(to bottom right, #b6f7c4, #9de8b4);
}

.status-contain-orange:hover {
    background: linear-gradient(to bottom right, #ffedb0, #ffe090);
}

.status-contain-red:hover {
    background: linear-gradient(to bottom right, #ffc0c0, #ff8888);
}

.dismiss-hint {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.6;
    margin-left: 16px;
    white-space: nowrap;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}