/**
 * Notification Toast Styles
 * Custom notification system styles
 */

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

/* Toast Base Styles */
.toast {
    min-width: 300px;
    max-width: 450px;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
    background: linear-gradient(135deg, #1a1a1a 0%, #262626 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Toast Types */
.toast-success {
    border-left: 4px solid #28a745;
    background: linear-gradient(135deg, #1a3d1a 0%, #2d5a2d 100%);
}

.toast-success .toast-icon {
    color: #28a745;
}

.toast-error {
    border-left: 4px solid #dc3545;
    background: linear-gradient(135deg, #3d1a1a 0%, #5a2d2d 100%);
}

.toast-error .toast-icon {
    color: #dc3545;
}

.toast-warning {
    border-left: 4px solid #ffc107;
    background: linear-gradient(135deg, #3d3a1a 0%, #5a562d 100%);
}

.toast-warning .toast-icon {
    color: #ffc107;
}

.toast-info {
    border-left: 4px solid #17a2b8;
    background: linear-gradient(135deg, #1a2d3d 0%, #2d4a5a 100%);
}

.toast-info .toast-icon {
    color: #17a2b8;
}

/* Toast Content */
.toast-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.toast-message {
    flex: 1;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
}

.toast-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

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

.toast-close i {
    font-size: 16px;
}

/* Confirmation Dialog */
.toast-confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toast-confirm-overlay.show {
    opacity: 1;
}

.toast-confirm-dialog {
    background: linear-gradient(135deg, #1a1a1a 0%, #262626 100%);
    border: 1px solid rgba(255, 214, 0, 0.3);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 450px;
    width: 90%;
    padding: 0;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast-confirm-overlay.show .toast-confirm-dialog {
    transform: scale(1);
}

.toast-confirm-content {
    padding: 32px;
    text-align: center;
}

.toast-confirm-icon {
    font-size: 48px;
    color: var(--primary-yellow, #ffd600);
    margin-bottom: 20px;
}

.toast-confirm-message {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 28px;
    font-weight: 400;
}

.toast-confirm-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.toast-confirm-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 120px;
    font-family: 'Montserrat', sans-serif;
}

.toast-confirm-btn-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.toast-confirm-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.toast-confirm-btn-confirm {
    background: linear-gradient(135deg, var(--primary-yellow, #ffd600) 0%, #ffed4e 100%);
    color: #000000;
    font-weight: 700;
}

.toast-confirm-btn-confirm:hover {
    background: linear-gradient(135deg, #ffed4e 0%, #ffd600 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 214, 0, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .toast {
        min-width: auto;
        max-width: 100%;
        transform: translateY(-100px);
    }
    
    .toast.show {
        transform: translateY(0);
    }
    
    .toast-confirm-dialog {
        width: 95%;
        margin: 20px;
    }
    
    .toast-confirm-content {
        padding: 24px;
    }
    
    .toast-confirm-buttons {
        flex-direction: column;
    }
    
    .toast-confirm-btn {
        width: 100%;
    }
}

