:root {
    --toast-bg: rgb(200,200,200);
    --toast-border: rgb(160,160,160);
    --toast-accent: rgb(127,127,127);
    --toast-title: #111827;
    --toast-text: #4b5a6b;
}

/** Container *********************************************************************************************************/
#toast-container {
    position: fixed;
    top: 80px;
    right: 100px;
    width:400px;
    min-height:1px;
    z-index: 1100;
}

/** Les toasts ********************************************************************************************************/
.toast-info {
    --toast-bg: #ecfdff;
    --toast-border: #7bcafa;
    --toast-accent: #3b8afb;
}

.toast-success {
    --toast-bg: #effcf3;
    --toast-border: #bdf0cb;
    --toast-accent: #0b8a3e;
}

.toast-warning {
    --toast-bg: #fef7f2;
    --toast-border: #ffc98c;
    --toast-accent: #ff750e;
}

.toast-danger {
    --toast-bg: #fef2f2;
    --toast-border: #fecaca;
    --toast-accent: #dc2626;
}

/** Les éléments ******************************************************************************************************/
.mytoast {
    background: var(--toast-bg);
    border: 1px solid var(--toast-border);
    border-left: 5px solid var(--toast-accent);
    border-radius: 4px;
    padding: 0.5rem;
    margin: 0.5rem;
}

.toast-title {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: var(--toast-title);
}

.toast-message {
    margin-bottom: 0.2rem;
    color: var(--toast-text);
}

.toast-raison {
    font-style: italic;
}

.toast-close {
    font-size: 2rem;
    line-height: 0.5;
    cursor: pointer;
    color: var(--toast-text);
}