/* css/custom_alerts.css */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.custom-toast {
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(218, 41, 28, 0.5);
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 250px;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

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

.custom-toast.error {
    border-color: rgba(239, 68, 68, 0.8);
    border-left: 4px solid #ef4444;
}

.custom-toast.success {
    border-color: rgba(218, 41, 28, 0.8);
    border-left: 4px solid #da291c;
}

.toast-icon {
    font-size: 20px;
}
.toast-msg {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

/* Modal for Confirm & Prompt */
#confirm-modal-overlay, #prompt-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 16, 8, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#confirm-modal-overlay.show, #prompt-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.confirm-modal-box {
    background: radial-gradient(circle at top right, #da291c 0%, #b30000 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#confirm-modal-overlay.show .confirm-modal-box, #prompt-modal-overlay.show .confirm-modal-box {
    transform: scale(1);
}

.confirm-icon {
    font-size: 40px;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.confirm-msg {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
    line-height: 1.5;
}

.confirm-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-confirm {
    padding: 10px 20px;
    background-color: #da291c;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.btn-confirm:hover {
    background-color: #b30000;
    transform: translateY(-2px);
}

.btn-cancel {
    padding: 10px 20px;
    background: transparent;
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Prompt Input */
.prompt-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 25px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    outline: none;
    transition: 0.2s;
    box-sizing: border-box;
}

.prompt-input:focus {
    border-color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}
