/* 粘贴确认对话框样式 */
.paste-confirm-dialog {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.paste-confirm-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.paste-confirm-box {
    position: relative;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 480px;
    width: 90%;
    padding: 24px;
    animation: dialogFadeIn 0.3s ease;
}

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

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

.paste-confirm-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.paste-confirm-header .material-symbols-outlined {
    font-size: 32px;
}

.paste-confirm-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #202124;
}

.paste-confirm-body {
    margin-bottom: 24px;
    color: #5f6368;
    line-height: 1.6;
}

.paste-confirm-body p {
    margin: 8px 0;
}

.paste-confirm-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.paste-btn {
    flex: 1;
    min-width: 180px;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.paste-btn .material-symbols-outlined {
    font-size: 20px;
}

.paste-btn-clean {
    background: linear-gradient(135deg, #34a853, #2d8e47);
    color: white;
    box-shadow: 0 4px 12px rgba(52, 168, 83, 0.3);
}

.paste-btn-clean:hover {
    background: linear-gradient(135deg, #2d8e47, #248239);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(52, 168, 83, 0.4);
}

.paste-btn-clean:active {
    transform: translateY(0);
}

.paste-btn-direct {
    background: #f1f3f4;
    color: #5f6368;
    border: 1px solid #dadce0;
}

.paste-btn-direct:hover {
    background: #e8eaed;
    border-color: #c4c7c9;
}

.paste-btn-direct:active {
    background: #dadce0;
}

.paste-btn-plain {
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #90caf9;
}

.paste-btn-plain:hover {
    background: #bbdefb;
    border-color: #64b5f6;
}

.paste-btn-plain:active {
    background: #90caf9;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .paste-confirm-box {
        max-width: 100%;
        width: calc(100% - 32px);
        margin: 16px;
    }

    .paste-confirm-actions {
        flex-direction: column;
    }

    .paste-btn {
        min-width: 100%;
    }
}