/* 确认对话框 */
.confirm-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.confirm-dialog.active {
    opacity: 1;
    visibility: visible;
}

.confirm-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 350px;
    overflow: hidden;
    transform: translateY(50px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.confirm-dialog.active .confirm-content {
    transform: translateY(0);
}

.confirm-header {
    padding: 25px 20px 15px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.confirm-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: white;
}

.icon-warning {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.confirm-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.confirm-message {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
}

.confirm-body {
    padding: 20px;
    text-align: center;
}

.confirm-footer {
    padding: 20px;
    display: flex;
    gap: 12px;
}

.confirm-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.cancel-confirm-btn {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.confirm-action-btn {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    color: white;
}

.confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

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

.confirm-action-btn:hover {
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}