
/* Toast Container */
.lw-toast-container {
    position: fixed;
    top: 80px; /* Below navbar */
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.lw-toast-container > * {
    pointer-events: all;
}

/* Toast Base */
.lw-toast {
    min-width: 300px;
    max-width: 500px;
    padding: 16px 20px;
    border-radius: 12px;
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
                0 0 0 1px rgba(255, 255, 255, 0.1);
    font-family: 'Aboreto', Calibri, Arial, sans-serif;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease-out;
}

/* Toast Types */
.lw-toast-success {
    background: linear-gradient(135deg, 
        rgba(34, 197, 94, 0.95) 0%, 
        rgba(21, 128, 61, 0.95) 100%);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #fff;
}

.lw-toast-error {
    background: linear-gradient(135deg, 
        rgba(220, 38, 38, 0.95) 0%, 
        rgba(153, 27, 27, 0.95) 100%);
    border: 1px solid rgba(220, 38, 38, 0.5);
    color: #fff;
}

.lw-toast-warning {
    background: linear-gradient(135deg, 
        rgba(245, 158, 11, 0.95) 0%, 
        rgba(180, 83, 9, 0.95) 100%);
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #fff;
}

.lw-toast-info {
    background: linear-gradient(135deg, 
        rgba(107, 70, 193, 0.95) 0%, 
        rgba(128, 90, 213, 0.95) 100%);
    border: 1px solid rgba(107, 70, 193, 0.5);
    color: #fff;
}

/* Toast Icon */
.lw-toast-icon {
    font-size: 24px;
    font-weight: bold;
    min-width: 24px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Toast Message */
.lw-toast-message {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Toast Close Button */
.lw-toast-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    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: all 0.2s ease;
    font-weight: bold;
}

.lw-toast-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Responsive */
@media (max-width: 600px) {
    .lw-toast-container {
        top: 70px;
        right: 10px;
        left: 10px;
    }

    .lw-toast {
        min-width: unset;
        max-width: unset;
        width: 100%;
    }
}

/* ============================================================================
   CONFIRMATION DIALOG
   ============================================================================ */

.lw-confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    transition: opacity 0.2s ease-out;
}

.lw-confirm-dialog {
    background: linear-gradient(135deg, #2a1a5f, #3b0c5a, #6B46C1);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(224, 207, 255, 0.3);
    border-radius: 16px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    font-family: 'Aboreto', Calibri, Arial, sans-serif;
    color: #fff;
    transform: scale(0.9);
    transition: transform 0.2s ease-out;
}

.lw-confirm-overlay[style*="opacity: 1"] .lw-confirm-dialog {
    transform: scale(1);
}

.lw-confirm-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
    color: #E0CFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.lw-confirm-message {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.95);
}

.lw-confirm-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.lw-confirm-button {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Aboreto', Calibri, Arial, sans-serif;
}

.lw-confirm-button-primary {
    background: linear-gradient(135deg, #D4AF37, #FFD700);
    color: #2a1a5f;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.5);
    font-weight: bold;
}

.lw-confirm-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.7);
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.lw-confirm-button-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.lw-confirm-button-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}