/* ============================================
   More Suggestions Modal (红框B) - 与预览面板风格一致
   ============================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content-large {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2), 0 0 0 1px rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.1);
    animation: slideUp 0.3s ease;
}

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

.modal-header {
    padding: 28px 36px 24px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
}

.modal-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-close {
    background: rgba(156, 163, 175, 0.1);
    border: none;
    font-size: 28px;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    transform: scale(1.05);
}

.modal-body {
    padding: 28px 36px;
    overflow-y: auto;
    flex: 1;
}

.modal-subtitle {
    color: #6b7280;
    font-size: 15px;
    margin: 0 0 28px 0;
    line-height: 1.6;
}

.modal-footer {
    padding: 24px 36px;
    border-top: 1px solid rgba(102, 126, 234, 0.1);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    background: rgba(249, 250, 251, 0.5);
}

.btn-modal-cancel {
    padding: 12px 28px;
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    background: white;
    color: #667eea;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-modal-cancel:hover {
    background: rgba(102, 126, 234, 0.05);
    border-color: #667eea;
    transform: translateY(-1px);
}

.btn-modal-apply {
    padding: 12px 28px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.35);
}

.btn-modal-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.45);
}

/* Selectable suggestions - 与预览面板风格一致 */
.dimension-suggestion.selectable,
.dimension-suggestion.selectable-more {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    background: white;
    border: 2px solid transparent;
}

.dimension-suggestion.selectable:hover,
.dimension-suggestion.selectable-more:hover {
    background: rgba(102, 126, 234, 0.03);
    border-color: rgba(102, 126, 234, 0.2);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.dimension-suggestion.selectable.selected,
.dimension-suggestion.selectable-more.selected {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.suggestion-checkbox {
    margin-right: 14px;
    display: flex;
    align-items: center;
}

.suggestion-check {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: #667eea;
    border-radius: 6px;
}

.suggestion-header {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content-large {
        width: 95%;
        max-height: 90vh;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 16px 20px;
    }
    
    .modal-header h3 {
        font-size: 20px;
    }
}

