.custom-toast-container {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 9999;
    margin-bottom: 1.5rem;
    pointer-events: none;
}

.custom-toast {
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    width: 360px;
    max-width: calc(100vw - 2rem);
    height: auto;
    padding: 12px 18px;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.9);
    margin-right: 1.5rem;
    align-items: center;
    display: flex;
    margin-bottom: 0.75rem;
    pointer-events: auto;
    font-family: inherit;
}

.custom-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.custom-toast .icon-container {
    display: flex;
    align-items: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.custom-toast .icon-container > svg {
    height: 28px;
    width: 28px;
}

.custom-toast .content-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.custom-toast .content-container .title {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.25;
    margin: 0;
}

.custom-toast .content-container .message {
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    margin: 5px 0 0 0;
    line-height: 1.5;
    word-break: break-word;
}

.custom-toast > button.close-button {
    background-color: transparent;
    font-size: 20px;
    line-height: 0;
    color: #94a3b8;
    cursor: pointer;
    border: 0;
	padding: 0 0 6px;
    margin-left: 8px;
    height: 28px;
    width: 28px;
    border-radius: 8px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.custom-toast > button.close-button:hover {
    color: #334155;
    background-color: #f1f5f9;
}

.custom-toast.success .icon-container > svg {
    fill: #10b981;
}

.custom-toast.success .content-container .title {
    color: #059669;
}

.custom-toast.error .icon-container > svg {
    fill: #ef4444;
}

.custom-toast.error .content-container .title {
    color: #dc2626;
}

.custom-toast.info .icon-container > svg {
    fill: #4f46e5;
}

.custom-toast.info .content-container .title {
    color: #4338ca;
}

.custom-toast.warning .icon-container > svg {
    fill: #f59e0b;
}

.custom-toast.warning .content-container .title {
    color: #d97706;
}

.custom-toast-container .custom-toast:last-child {
    margin-bottom: 1.5rem;
}

@media (max-width: 568px) {
    .custom-toast {
        margin: auto 1rem;
        left: 0;
        right: 0;
        width: calc(100% - 2rem);
        margin-bottom: 0.5rem;
    }

    .custom-toast-container {
        margin: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
