/* ========== 克隆输入弹窗样式 ========== */
.clone-input-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 102;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.clone-input-container {
    width: 90%;
    max-width: 500px;
    background: var(--bg-color);
    border-radius: 20px;
    box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.5), 0 0 0 0.5px rgba(255, 255, 255, 0.08);
    overflow: hidden;
    position: relative;
    transition: transform 0.2s;
}

.clone-input-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 8px 24px;
}

.clone-input-title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--text-color);
}

.clone-input-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.clone-input-close i {
    font-size: 14px;
    color: var(--text-color-8);
}

.clone-input-close:hover {
    background: var(--text-color-1);
}


.clone-input-content {
    padding: 12px 24px 28px 24px;
}

.clone-form-group {
    margin-bottom: 24px;
}

.clone-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.clone-audio-preview {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.clone-audio-preview audio {
    width: 100%;
    height: 40px;
    border-radius: 30px;
}

.clone-input-field {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    outline: none;
    transition: all 0.2s;
}

.clone-input-field:focus {
    border-color: #7a41db;
    background: rgba(255, 255, 255, 0.08);
}

.clone-input-field.error {
    border-color: #e76262;
}

.clone-gender-selector {
    display: flex;
    gap: 16px;
    margin-top: 4px;
}

.clone-gender-option {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clone-gender-option i {
    font-size: 26px;
    color: rgba(255, 255, 255, 0.6);
}

.clone-gender-option span {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

.clone-gender-option.selected {
    transform: scale(0.98);
}

.clone-gender-option.selected.male {
    border-color: var(--male-color);
    background: rgba(41, 128, 185, 0.1);
}

.clone-gender-option.selected.female {
    border-color: var(--female-color);
    background: rgba(255, 192, 203, 0.1);
}

.clone-gender-option.selected.male * {
    color: var(--male-color);
}

.clone-gender-option.selected.female * {
    color: var(--female-color);
}


.clone-error-message {
    font-size: 12px;
    color: #e76262;
    margin-top: 6px;
    padding-left: 14px;
    display: none;
}

.clone-input-footer {
    margin-top: 32px;
}

.clone-submit-btn {
    width: 100%;
    background: #7a41db;
    border: none;
    border-radius: 60px;
    padding: 14px 0;
    font-weight: 600;
    font-size: 17px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 12px rgba(122, 65, 219, 0.3);
}

.clone-submit-btn span:first-child {
    font-size: 16px;
}

.clone-submit-btn span:last-child {
    font-size: 11px;
    font-weight: normal;
    opacity: 0.8;
}

.clone-submit-btn:hover {
    background: #936df5;
    transform: scale(0.98);
}

.clone-delete-btn {
    width: 100%;
    background: transparent;
    border: none;
    border-radius: 60px;
    padding: 12px 0;
    margin-top: 12px;
    font-weight: 500;
    font-size: 15px;
    color: #e76262;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.clone-delete-btn:hover {
    background: rgba(231, 98, 98, 0.08);
}

/* 确认气泡 */
.confirm-bubble {
    position: fixed;
    background: rgba(30, 30, 35, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 20px;
    width: 260px;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.4), 0 0 0 0.5px rgba(255, 255, 255, 0.1);
    z-index: 10010;
    text-align: center;
    transform-origin: center top;
    animation: bubbleSlideUp 0.2s ease-out;
}

@keyframes bubbleSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.confirm-bubble p {
    color: white;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 500;
}

.bubble-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.bubble-cancel, .bubble-confirm {
    flex: 1;
    padding: 10px 0;
    border-radius: 40px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    text-align: center;
}

.bubble-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.bubble-confirm {
    background: #e76262;
    color: white;
}


@media (max-width: 550px) {
    .confirm-bubble {
        width: 240px;
        padding: 18px;
    }
}

@media (max-width: 550px) {
    .clone-input-container {
        width: 92%;
        border-radius: 36px;
    }

    .clone-input-content {
        padding: 8px 20px 24px;
    }

    .clone-gender-option {
        padding: 10px 0;
    }

    .clone-gender-option i {
        font-size: 22px;
    }

    .confirm-bubble {
        width: 240px;
        padding: 18px;
    }
}