.toast-message-container {
    position: absolute !important;
    bottom: 10px;
    right: 10px;
    min-width: fit-content !important;
    min-height: fit-content !important;
    height: 300px;
    z-index: 9999;
}

.toast-message {
    min-width: 300px;
    max-width: 500px;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    pointer-events: auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.toast-message-show {
    opacity: 1;
    transform: translateX(0);
}

.toast-message-hide {
    opacity: 0;
    transform: translateX(400px);
}

.toast-message-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.toast-message-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-message-text {
    flex: 1;
    word-break: break-word;
}

.toast-message-close {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s;
    flex-shrink: 0;
    color: inherit;
    opacity: 0.7;
}

.toast-message-close:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.1);
}

/* Info */
.toast-message-info {
    background-color: #3b82f6;
    color: white;
}

.toast-message-info .toast-message-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Success */
.toast-message-success {
    background-color: #10b981;
    color: white;
}

.toast-message-success .toast-message-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Error */
.toast-message-error {
    background-color: #ef4444;
    color: white;
}

.toast-message-error .toast-message-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Mobile */
@media (max-width: 640px) {
    .toast-message-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .toast-message {
        min-width: auto;
        max-width: 100%;
    }
}
