/* Toast Notifications Styles */
#toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    min-width: 300px;
    max-width: 420px;
    padding: 16px 20px;
    border-radius: 8px;
    background: #ffffff;
    color: #333;
    font-family: 'Palanquin', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid transparent;
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    pointer-events: auto;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

/* Success */
.toast-success {
    border-left-color: #16a34a;
}

.toast-success .toast-icon {
    color: #16a34a;
}

/* Error */
.toast-error {
    border-left-color: #dc2626;
}

.toast-error .toast-icon {
    color: #dc2626;
}

/* Icon */
.toast-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 1px;
}

/* Content */
.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 2px;
}

.toast-message {
    font-weight: 400;
    font-size: 13px;
    color: #555;
}

/* Close button */
.toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    font-size: 18px;
    line-height: 1;
    padding: 0;
    margin-top: 1px;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #333;
}

/* Responsive */
@media (max-width: 480px) {
    #toast-container {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .toast {
        min-width: unset;
        max-width: unset;
    }
}