.toast-container {
    position: fixed;
    z-index: 5000;
    padding: 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

@media (min-width: 640px) {
    .toast-container {
        padding: 1.5rem;
    }
}

.bottom-0 {
    bottom: 0;
}

.top-1\/2 {
    top: 50%;
}

.-translate-y-1\/2 {
    --tw-translate-y: -50%;
    translate: var(--tw-translate-x) var(--tw-translate-y);
}
.top-0 {
    top: calc(var(--spacing) * 0);
}
.items-center {
    align-items: center;
}
.items-end {
    align-items: flex-end;
}
.items-start {
    align-items: flex-start;
}

.toast-item {
    position: relative;
    transition-property: transform;
    transition-duration: 300ms;
    transition-timing-function: ease-in-out;
    max-width: 20rem;
    width: 100%;
    pointer-events: auto;
    display: flex;
    align-items: center;
}

.text-center {
    text-align: center;
}
.text-white {
    color: white;
}
.text-black {
    color: black;
}

.toast-item .message {
    display: inline-block;
    user-select: none;
    font-style: normal;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border: 1px solid;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -4px rgba(0, 0, 0, 0.1);
    font-size: 0.875rem;
    width: 100%;
}
.mt-3 {
    margin-top: 12px;
}
.mb-3 {
    margin-bottom: 12px;
}

.message.success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}
.message.error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.message.warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}
.message.info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.toast-item .button {
    position: absolute;
    top: calc(50% - 19px);
    padding: 0.5rem;
    right: auto;
    left: 0;
    outline: none;
    height: fit-content;
}

.toast-item .button:focus {
    outline: none;
}
.top-0 {
    top: 0px;
}
.top-3 {
    top: 12px;
}
.h-4 {
    height: 16px;
}
.w-4 {
    width: 16px;
}
