/* --- Premium Toast Notifications --- */
.toast-container { 
    z-index: 9999; 
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 90%;
    max-width: 400px;
    pointer-events: none; /* Allows clicks to pass through the container */
}

.toast {
    background: var(--lux-brand-prime); /* Deep Navy */
    color: #ffffff;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    box-shadow: var(--lux-shadow-heavy);
    border-left: 4px solid var(--lux-brand-accent); /* Amber accent line */
    animation: luxSlideDown 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    text-align: center;
}

/* Smooth spring animation for the toast */
@keyframes luxSlideDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* --- Custom Slide-in Confirm Prompt --- */
.custom-prompt-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 25, 47, 0.5); /* Dim background */
    z-index: 10000;
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: flex-start; /* Start from Left */
}
.custom-prompt-box {
    background: #ffffff;
    margin-left: 1.5rem; /* Space from left edge */
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border-left: 5px solid #10b981; /* Green accent */
    max-width: 320px;
    width: calc(100% - 3rem);
    animation: promptSlideInLeft 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.custom-prompt-text {
    color: #1e293b;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}
.custom-prompt-btns {
    display: flex;
    gap: 10px;
}
.custom-prompt-btns button {
    flex: 1;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: transform 0.1s;
}
.custom-prompt-btns button:active { transform: scale(0.95); }
.custom-btn-yes { background: #0a192f; color: white; }
.custom-btn-no { background: #f1f5f9; color: #64748b; border: 1px solid #cbd5e1; }

@keyframes promptSlideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes promptFadeOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.9); }
}