.message-message,
.message-error {
    position: fixed;
    display: flex;
    padding: 15px;
    padding-inline: 15px;
    border: none;
    border: none;
    box-shadow: 0 5px 5px rgba(0,0,0,0.5);
    width: fit-content;
    height: fit-content;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    transition: all 0.2s;
    opacity: 0;
    translate: 0;
    border-radius: 15px;
    max-width: 80%;
    z-index: 100;
}
.message-message {
    background: var(--theme-color);
}
.message-error {
    background: var(--color-red);
}
.message-message > p,
.message-error > p {
    font-size: 12px;
    font-weight: 500;
    color: #000;
    text-align: center;
    margin-block: auto;
}

.message-message > span,
.message-error > span {
    font-size: 18px;
    color: #000;
    margin-block: auto;
    margin-right: 10px;
    font-variation-settings: 'FILL' 1,'wght' 700,'GRAD' 0,'opsz' 24;
}


.message-prompt {
    position: fixed;
    top: 64px;
    right: 0;
    margin: 15px;
    z-index: 30;
    background: var(--theme-color);
    color: #000;
    border-radius: 15px;
    max-width: 260px;
    opacity: 0;
    translate: 260px 0;
    transition: all 0.2s;
}
.message-prompt::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 15px;
    margin: auto;
    background-color: var(--theme-color);
    height: 15px;
    width: 15px;
    clip-path: polygon(0 0, 100% 0, 50% 50%);
    rotate: -90deg;
}
.message-prompt > .header {
    display: flex;
}
.message-prompt > .header > p {
    font-size: 16px;
    font-weight: 600;
    margin-inline: 15px;
    margin-block: 10px;
    
}
.message-prompt > .header > span {
    margin-left: auto;
    margin-block: auto;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    margin-right: 5px;
}
.message-prompt > .header > span:hover {
    background: rgba(0,0,0,0.2);
}

.message-prompt > .body {
    padding-inline: 15px;
}
.message-prompt > .body > p {
    font-size: 14px;
    font-weight: 400;
    margin: 0;
}

.message-prompt > .footer {
    display: flex;
    justify-content: right;
    padding: 10px;
}
.message-prompt > .footer > button {
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    background: #fff;
    color: #000;
    padding: 5px;
    padding-inline: 25px;
    border: none;
    outline: none;
    cursor: pointer;
    transition: all 0.2s;
}
.message-prompt > .footer > button:hover {
    scale: 1.05;
}