/* Toast Notification System */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    background: white;
    border-radius: 16px;
    padding: 16px 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 320px;
    max-width: 500px;
    pointer-events: auto;
    animation: slideDown 0.3s ease-out;
    border: 2px solid transparent;
}

.toast.toast-success {
    border-color: #10B981;
    background: linear-gradient(135deg, #ECFDF5 0%, #ffffff 100%);
}

.toast.toast-error {
    border-color: #EF4444;
    background: linear-gradient(135deg, #FEF2F2 0%, #ffffff 100%);
}

.toast.toast-warning {
    border-color: #F59E0B;
    background: linear-gradient(135deg, #FFFBEB 0%, #ffffff 100%);
}

.toast.toast-info {
    border-color: #3B82F6;
    background: linear-gradient(135deg, #EFF6FF 0%, #ffffff 100%);
}

.toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    background: #10B981;
    color: white;
}

.toast-error .toast-icon {
    background: #EF4444;
    color: white;
}

.toast-warning .toast-icon {
    background: #F59E0B;
    color: white;
}

.toast-info .toast-icon {
    background: #3B82F6;
    color: white;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
    color: #1F2937;
}

.toast-message {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.4;
}

.toast-close {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #9CA3AF;
    transition: all 0.2s;
    flex-shrink: 0;
}

.toast-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #1F2937;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.toast.removing {
    animation: slideUp 0.3s ease-out forwards;
}

/* Confirm Dialog */
.confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease-out;
}

.confirm-dialog {
    background: white;
    border-radius: 20px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.3s ease-out;
}

.confirm-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FEF2F2;
    color: #EF4444;
}

.confirm-title {
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    color: #1F2937;
}

.confirm-message {
    text-align: center;
    color: #6B7280;
    margin-bottom: 24px;
    line-height: 1.5;
}

.confirm-buttons {
    display: flex;
    gap: 12px;
}

.confirm-btn {
    flex: 1;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    outline: none;
}

.confirm-btn-cancel {
    background: #F3F4F6;
    color: #6B7280;
}

.confirm-btn-cancel:hover {
    background: #E5E7EB;
}

.confirm-btn-confirm {
    background: #FF6B35;
    color: white;
}

.confirm-btn-confirm:hover {
    background: #E55A2B;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}